aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-02-09 05:36:48 +0000
committerRichard M. Stallman <[email protected]>1994-02-09 05:36:48 +0000
commitc7d7ed2771c270d51951ff97f2655abdb2aed932 (patch)
treeeec2b7318fc79a2329e6b66c520ce3f7960e9c37 /lisp
parentccc341de409bf899e9696246ed1fa8a746f3e4ee (diff)
(disabled-command-hook): Use eq to compare elts of this-command-keys.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/novice.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/novice.el b/lisp/novice.el
index 972d073764..922746d1c4 100644
--- a/lisp/novice.el
+++ b/lisp/novice.el
@@ -42,7 +42,7 @@
(let (char)
(save-window-excursion
(with-output-to-temp-buffer "*Help*"
- (if (= (aref (this-command-keys) 0) ?\M-x)
+ (if (eq (aref (this-command-keys) 0) ?\M-x)
(princ "You have invoked the disabled command ")
(princ "You have typed ")
(princ (key-description (this-command-keys)))