+2002-03-04 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * help.el (describe-key-briefly, describe-key): Interpret
+ `undefined' like not defined at all.
+
2002-03-03 Stefan Monnier <monnier@cs.yale.edu>
* textmodes/sgml-mode.el: Change maintainer to FSF.
(let ((defn (or (string-key-binding key)
(key-binding key)))
(key-desc (key-description key)))
- (if (or (null defn) (integerp defn))
+ (if (or (null defn) (integerp defn) (equal defn 'undefined))
(princ (format "%s is undefined" key-desc))
(princ (format (if (windowp window)
"%s at that spot runs the command %s"
(set-buffer (window-buffer window))
(goto-char position))
(let ((defn (or (string-key-binding key) (key-binding key))))
- (if (or (null defn) (integerp defn))
+ (if (or (null defn) (integerp defn) (equal defn 'undefined))
(message "%s is undefined" (key-description key))
(help-setup-xref (list #'describe-function defn) (interactive-p))
(with-output-to-temp-buffer (help-buffer)