diff lisp/prim/keydefs.el @ 98:0d2f883870bc r20-1b1

Import from CVS: tag r20-1b1
author cvs
date Mon, 13 Aug 2007 09:13:56 +0200
parents 54cc21c15cbb
children cf808b4c4290
line wrap: on
line diff
--- a/lisp/prim/keydefs.el	Mon Aug 13 09:12:43 2007 +0200
+++ b/lisp/prim/keydefs.el	Mon Aug 13 09:13:56 2007 +0200
@@ -142,10 +142,7 @@
 
 ;; FSFmacs help.el
 
-(let ((ch help-char))
-  (if (or (characterp ch) (integerp ch))
-      (setq ch (char-to-string ch)))
-  (define-key global-map ch 'help-command))
+(define-key global-map (vector help-char) 'help-command)
 (define-key global-map 'help 'help-command)
 (define-key global-map 'f1 'help-command)