]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix compilation-mode-map doc string
authorakater <nuclearspace@gmail.com>
Sun, 13 Sep 2020 23:08:26 +0000 (01:08 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 13 Sep 2020 23:08:26 +0000 (01:08 +0200)
* 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

index 13b672bd53b64f54931a18a6163310775f04f15e..7ac5405ab18c05ddf1821a2f660d4ad0780fab4f 100644 (file)
@@ -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,