emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 9cc992e: Fix compilation-mode-map doc string


From: Lars Ingebrigtsen
Subject: master 9cc992e: Fix compilation-mode-map doc string
Date: Sun, 13 Sep 2020 19:08:38 -0400 (EDT)

branch: master
commit 9cc992e68ff7c37420f3d9dd5fa73bc9525e4c2a
Author: akater <nuclearspace@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix compilation-mode-map doc string
    
    * lisp/progmodes/compile.el (compilation-mode-map): Remove mention of
    compilation-minor-mode-map (bug#43382).
    
    As the comment in the body says:
    
    ;; Don't inherit from compilation-minor-mode-map,
    ;; because that introduces a menu bar item we don't want.
    ;; That confuses C-down-mouse-3.
    
    and the map actually inherits from special-mode-map.
    
    Copyright-paperwork-exempt: yes
---
 lisp/progmodes/compile.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 13b672b..7ac5405 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -2090,8 +2090,7 @@ Returns the compilation buffer created."
       '(menu-item "Compile..." compile
                  :help "Compile the program including the current buffer.  
Default: run `make'"))
     map)
-  "Keymap for compilation log buffers.
-`compilation-minor-mode-map' is a parent of this.")
+  "Keymap for compilation log buffers.")
 
 (defvar compilation-mode-tool-bar-map
   ;; When bootstrapping, tool-bar-map is not properly initialized yet,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]