diff options
author | Richard M. Stallman <[email protected]> | 1994-02-12 02:58:48 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1994-02-12 02:58:48 +0000 |
commit | 61563ba0c91f74b3cdbc84f6f555b96c613ab320 (patch) | |
tree | 097c615596a1263580f4f6aa8dcc84372579927f | |
parent | 632021345a4f1fa38e7652ed7aadc7669ac08563 (diff) |
(disabled-command-hook): Use eq to compare elts
of this-command-keys. Choose the appropriate kind of Meta.
-rw-r--r-- | lisp/novice.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/novice.el b/lisp/novice.el index 922746d1c4..2c61715cef 100644 --- a/lisp/novice.el +++ b/lisp/novice.el @@ -42,7 +42,10 @@ (let (char) (save-window-excursion (with-output-to-temp-buffer "*Help*" - (if (eq (aref (this-command-keys) 0) ?\M-x) + (if (eq (aref (this-command-keys) 0) + (if (stringp (this-command-keys)) + (aref "\M-x" 0) + ?\M-x)) (princ "You have invoked the disabled command ") (princ "You have typed ") (princ (key-description (this-command-keys))) |