changeset 106357:93e5b9138482

(normal-erase-is-backspace-mode): Fix thinko in message.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 01 Dec 2009 18:06:06 +0000
parents 9b7cf86ec483
children 8acd940e483a
files lisp/ChangeLog lisp/simple.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Dec 01 17:06:30 2009 +0000
+++ b/lisp/ChangeLog	Tue Dec 01 18:06:06 2009 +0000
@@ -1,3 +1,7 @@
+2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
+
 2009-12-01  Glenn Morris  <rgm@gnu.org>
 
 	* window.el (window--display-buffer-2): Fix previous changes.
--- a/lisp/simple.el	Tue Dec 01 17:06:30 2009 +0000
+++ b/lisp/simple.el	Tue Dec 01 18:06:06 2009 +0000
@@ -6455,7 +6455,7 @@
     (run-hooks 'normal-erase-is-backspace-hook)
     (if (called-interactively-p 'interactive)
 	(message "Delete key deletes %s"
-		 (if (terminal-parameter nil 'normal-erase-is-backspace)
+		 (if (eq 1 (terminal-parameter nil 'normal-erase-is-backspace))
 		     "forward" "backward")))))
 
 (defvar vis-mode-saved-buffer-invisibility-spec nil