diff options
| author | akater | 2020-09-14 01:08:26 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2020-09-14 01:08:26 +0200 |
| commit | 9cc992e68ff7c37420f3d9dd5fa73bc9525e4c2a (patch) | |
| tree | 4c34f43a5aea5d0317dcf44e24344b358dc90eea | |
| parent | da0e75e7410226d7fd6d760f0ebe8a04d815506d (diff) | |
| download | emacs-9cc992e68ff7c37420f3d9dd5fa73bc9525e4c2a.tar.gz emacs-9cc992e68ff7c37420f3d9dd5fa73bc9525e4c2a.zip | |
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
| -rw-r--r-- | lisp/progmodes/compile.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 13b672bd53b..7ac5405ab18 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -2090,8 +2090,7 @@ Returns the compilation buffer created." | |||
| 2090 | '(menu-item "Compile..." compile | 2090 | '(menu-item "Compile..." compile |
| 2091 | :help "Compile the program including the current buffer. Default: run `make'")) | 2091 | :help "Compile the program including the current buffer. Default: run `make'")) |
| 2092 | map) | 2092 | map) |
| 2093 | "Keymap for compilation log buffers. | 2093 | "Keymap for compilation log buffers.") |
| 2094 | `compilation-minor-mode-map' is a parent of this.") | ||
| 2095 | 2094 | ||
| 2096 | (defvar compilation-mode-tool-bar-map | 2095 | (defvar compilation-mode-tool-bar-map |
| 2097 | ;; When bootstrapping, tool-bar-map is not properly initialized yet, | 2096 | ;; When bootstrapping, tool-bar-map is not properly initialized yet, |