diff options
author | Sam Steingold <sds@gnu.org> | 2000-10-10 17:27:38 +0000 |
---|---|---|
committer | Sam Steingold <sds@gnu.org> | 2000-10-10 17:27:38 +0000 |
commit | 690ec64977401b78094df77c5e28ce91a4a5c9a8 (patch) | |
tree | c99536fbfb59943f668a0bf97d05de0a598adbb1 /lisp/chistory.el | |
parent | 80f9f3db875c966d9c311ff5416085242d331508 (diff) | |
download | emacs-690ec64977401b78094df77c5e28ce91a4a5c9a8.tar.gz emacs-690ec64977401b78094df77c5e28ce91a4a5c9a8.tar.bz2 emacs-690ec64977401b78094df77c5e28ce91a4a5c9a8.zip |
use lisp-mode-shared-map instead of shared-lisp-mode-map
Diffstat (limited to 'lisp/chistory.el')
-rw-r--r-- | lisp/chistory.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/chistory.el b/lisp/chistory.el index 6c5eaba8b72..a32720a40ce 100644 --- a/lisp/chistory.el +++ b/lisp/chistory.el @@ -145,10 +145,9 @@ The buffer is left in Command History mode." :group 'chistory) (defvar command-history-map nil) -(if command-history-map - nil - (setq command-history-map - (nconc (make-sparse-keymap) shared-lisp-mode-map)) +(unless command-history-map + (setq command-history-map (make-sparse-keymap)) + (set-keymap-parent command-history-map lisp-mode-shared-map) (suppress-keymap command-history-map) (define-key command-history-map "x" 'command-history-repeat) (define-key command-history-map "\n" 'next-line) |