[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 3ad9e51: Fix bytecomp.el warning a different way th
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 3ad9e51: Fix bytecomp.el warning a different way than the previous patch |
Date: |
Thu, 3 Oct 2019 11:17:57 -0400 (EDT) |
branch: master
commit 3ad9e5133e7c9895c41bb31b2209d2c1f8fe3239
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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.
---
lisp/emacs-lisp/bytecomp.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 1d0f07a..905d99a 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 3ad9e51: Fix bytecomp.el warning a different way than the previous patch,
Lars Ingebrigtsen <=