From c7d7ed2771c270d51951ff97f2655abdb2aed932 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 9 Feb 1994 05:36:48 +0000 Subject: [PATCH] (disabled-command-hook): Use eq to compare elts of this-command-keys. --- lisp/novice.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/novice.el b/lisp/novice.el index 972d0737649..922746d1c4c 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))) -- 2.39.5