Fix bytecomp.el warning a different way than the previous patch
* lisp/emacs-lisp/bytecomp.el (emacs-lisp-compilation-mode-map): No need to use set-keymap-parent here; `define-derived-mode' will do that automatically.
This commit is contained in:
parent
4cf9bbcbc1
commit
3ad9e5133e
1 changed files with 1 additions and 2 deletions
|
@ -124,7 +124,7 @@
|
|||
(require 'backquote)
|
||||
(require 'macroexp)
|
||||
(require 'cconv)
|
||||
(require 'compile)
|
||||
(eval-when-compile (require 'compile))
|
||||
;; Refrain from using cl-lib at run-time here, since it otherwise prevents
|
||||
;; us from emitting warnings when compiling files which use cl-lib without
|
||||
;; requiring it! (bug#30635)
|
||||
|
@ -1047,7 +1047,6 @@ message buffer `default-directory'."
|
|||
|
||||
(defvar emacs-lisp-compilation-mode-map
|
||||
(let ((map (make-sparse-keymap)))
|
||||
(set-keymap-parent map compilation-minor-mode-map)
|
||||
(define-key map "g" 'emacs-lisp-compilation-recompile)
|
||||
map))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue