mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 05:17:35 +00:00
Make prog-mode-map the parent of c-mode-base-map. Fixes bug #26658.
* lisp/progmodes/cc-mode.el (top level): Make prog-mode-map the parent of c-mode-base-map if possible.
This commit is contained in:
parent
125a8a62db
commit
7dd72d76ef
1 changed files with 2 additions and 0 deletions
|
|
@ -265,6 +265,8 @@ control). See \"cc-mode.el\" for more info."
|
|||
nil
|
||||
|
||||
(setq c-mode-base-map (make-sparse-keymap))
|
||||
(when (boundp 'prog-mode-map)
|
||||
(c-set-keymap-parent c-mode-base-map prog-mode-map))
|
||||
|
||||
;; Separate M-BS from C-M-h. The former should remain
|
||||
;; backward-kill-word.
|
||||
|
|
|
|||
Loading…
Reference in a new issue