Mercurial > emacs
changeset 21116:ccf251830c66
(lisp-interaction-mode-map)
(emacs-lisp-mode-map, lisp-mode-map): Use set-keymap-parent.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 08 Mar 1998 23:40:28 +0000 |
parents | fea2f6a2818d |
children | a88d2c555a06 |
files | lisp/emacs-lisp/lisp-mode.el |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el Sun Mar 08 16:29:08 1998 +0000 +++ b/lisp/emacs-lisp/lisp-mode.el Sun Mar 08 23:40:28 1998 +0000 @@ -148,8 +148,8 @@ (if emacs-lisp-mode-map () (let ((map (make-sparse-keymap "Emacs-Lisp"))) - (setq emacs-lisp-mode-map - (nconc (make-sparse-keymap) shared-lisp-mode-map)) + (setq emacs-lisp-mode-map (make-sparse-keymap)) + (set-keymap-parent emacs-lisp-mode-map shared-lisp-mode-map) (define-key emacs-lisp-mode-map "\e\t" 'lisp-complete-symbol) (define-key emacs-lisp-mode-map "\e\C-x" 'eval-defun) (define-key emacs-lisp-mode-map [menu-bar] (make-sparse-keymap)) @@ -221,8 +221,8 @@ (if lisp-mode-map () - (setq lisp-mode-map - (nconc (make-sparse-keymap) shared-lisp-mode-map)) + (setq lisp-mode-map (make-sparse-keymap)) + (set-keymap-parent lisp-mode-map shared-lisp-mode-map) (define-key lisp-mode-map "\e\C-x" 'lisp-eval-defun) (define-key lisp-mode-map "\C-c\C-z" 'run-lisp)) @@ -259,8 +259,8 @@ (if lisp-interaction-mode-map () - (setq lisp-interaction-mode-map - (nconc (make-sparse-keymap) shared-lisp-mode-map)) + (setq lisp-interaction-mode-map (make-sparse-keymap)) + (set-keymap-parent lisp-interaction-mode-map shared-lisp-mode-map) (define-key lisp-interaction-mode-map "\e\C-x" 'eval-defun) (define-key lisp-interaction-mode-map "\e\t" 'lisp-complete-symbol) (define-key lisp-interaction-mode-map "\n" 'eval-print-last-sexp))