diff options
| author | Stefan Monnier | 2013-05-29 10:14:16 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-05-29 10:14:16 -0400 |
| commit | 33e249a259ae61d828d22f6df5546ac9ba70da36 (patch) | |
| tree | 338ed958073c2ba162961858ebcd49e1acb23a95 | |
| parent | 9dbd3bb11ad2684349c07aaf6c393248d8665d62 (diff) | |
| download | emacs-33e249a259ae61d828d22f6df5546ac9ba70da36.tar.gz emacs-33e249a259ae61d828d22f6df5546ac9ba70da36.zip | |
* lisp/emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
prog-mode-map.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3fa1ffe40a7..9c050fa5a01 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from | ||
| 4 | prog-mode-map. | ||
| 5 | |||
| 1 | 2013-05-29 Leo Liu <sdl.web@gmail.com> | 6 | 2013-05-29 Leo Liu <sdl.web@gmail.com> |
| 2 | 7 | ||
| 3 | * progmodes/octave.el (octave-indent-comment): Tweak regexps. | 8 | * progmodes/octave.el (octave-indent-comment): Tweak regexps. |
| @@ -24,8 +29,7 @@ | |||
| 24 | 2013-05-28 Alan Mackenzie <acm@muc.de> | 29 | 2013-05-28 Alan Mackenzie <acm@muc.de> |
| 25 | 30 | ||
| 26 | Handle "capitalised keywords" correctly. | 31 | Handle "capitalised keywords" correctly. |
| 27 | * progmodes/cc-mode.el (c-after-change): bind case-fold-search to | 32 | * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil. |
| 28 | nil. | ||
| 29 | 33 | ||
| 30 | 2013-05-28 Aidan Gauland <aidalgol@amuri.net> | 34 | 2013-05-28 Aidan Gauland <aidalgol@amuri.net> |
| 31 | 35 | ||
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 8d74afac285..ae855052524 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -266,6 +266,7 @@ font-lock keywords will not be case sensitive." | |||
| 266 | 266 | ||
| 267 | (defvar lisp-mode-shared-map | 267 | (defvar lisp-mode-shared-map |
| 268 | (let ((map (make-sparse-keymap))) | 268 | (let ((map (make-sparse-keymap))) |
| 269 | (set-keymap-parent map prog-mode-map) | ||
| 269 | (define-key map "\e\C-q" 'indent-sexp) | 270 | (define-key map "\e\C-q" 'indent-sexp) |
| 270 | (define-key map "\177" 'backward-delete-char-untabify) | 271 | (define-key map "\177" 'backward-delete-char-untabify) |
| 271 | ;; This gets in the way when viewing a Lisp file in view-mode. As | 272 | ;; This gets in the way when viewing a Lisp file in view-mode. As |