[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b7a2b2b: Interactive tag byte compilation functions in emacs-lisp
From: |
Lars Ingebrigtsen |
Subject: |
master b7a2b2b: Interactive tag byte compilation functions in emacs-lisp-mode |
Date: |
Wed, 24 Feb 2021 11:44:02 -0500 (EST) |
branch: master
commit b7a2b2bdd9ced60e1b59207935f67c05ea707f3d
Author: Doug Davis <ddavis@ddavis.io>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Interactive tag byte compilation functions in emacs-lisp-mode
* lisp/progmodes/elisp-mode.el (emacs-lisp-byte-compile)
(emacs-lisp-byte-compile-and-load): Add interactive tagging
(bug#46721).
---
lisp/progmodes/elisp-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index 397eb26..20c7f20 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -182,14 +182,14 @@ All commands in `lisp-mode-shared-map' are inherited by
this map.")
(defun emacs-lisp-byte-compile ()
"Byte compile the file containing the current buffer."
- (interactive)
+ (interactive nil emacs-lisp-mode)
(if buffer-file-name
(byte-compile-file buffer-file-name)
(error "The buffer must be saved in a file first")))
(defun emacs-lisp-byte-compile-and-load ()
"Byte-compile the current file (if it has changed), then load compiled code."
- (interactive)
+ (interactive nil emacs-lisp-mode)
(or buffer-file-name
(error "The buffer must be saved in a file first"))
(require 'bytecomp)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master b7a2b2b: Interactive tag byte compilation functions in emacs-lisp-mode,
Lars Ingebrigtsen <=