summaryrefslogtreecommitdiff
path: root/lisp/novice.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/novice.el')
-rw-r--r--lisp/novice.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/novice.el b/lisp/novice.el
index 97e27da5e5e..7fff480e2c2 100644
--- a/lisp/novice.el
+++ b/lisp/novice.el
@@ -44,6 +44,8 @@ If nil, the feature is disabled, i.e., all commands work normally.")
;;;###autoload
(define-obsolete-variable-alias 'disabled-command-hook 'disabled-command-function "22.1")
+;; It is ok here to assume that this-command is a symbol
+;; because we won't get called otherwise.
;;;###autoload
(defun disabled-command-function (&rest ignore)
(let (char)