From c1acacc417d9e56794ec7bef4255d39ee5868579 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 27 Jan 2001 12:20:18 +0000 Subject: [PATCH] (lisp-mode-shared-map): Undo the change from 2001-01-12. It is not needed, since backspace is now mapped into DEL. --- lisp/ChangeLog | 6 ++++++ lisp/emacs-lisp/lisp-mode.el | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e14eeea3f8d..f5ef149f12f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2001-01-27 Eli Zaretskii + + * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Undo the change + from 2001-01-12. It is not needed, since backspace is mapped into + DEL. + 2001-01-27 Richard M. Stallman * dabbrev.el (dabbrev--substitute-expansion): diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index b457fa624f0..adc16ef0833 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -158,7 +158,10 @@ ine-condition\\|ine-widget\\|face\\)\\s-+'?\\(\\sw\\(\\sw\\|\\s_\\)+\\)") (let ((map (make-sparse-keymap))) (define-key map "\e\C-q" 'indent-sexp) (define-key map "\177" 'backward-delete-char-untabify) - (define-key map [backspace] 'backward-delete-char-untabify) + ;; This gets in the way when viewing a Lisp file in view-mode. As + ;; long as [backspace] is mapped into DEL via the + ;; function-key-map, this should remain disabled!! + ;;;(define-key map [backspace] 'backward-delete-char-untabify) map) "Keymap for commands shared by all sorts of Lisp modes.") -- 2.39.2