[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/help.el
From: |
Lute Kamstra |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/help.el |
Date: |
Wed, 13 Apr 2005 05:16:02 -0400 |
Index: emacs/lisp/help.el
diff -c emacs/lisp/help.el:1.279 emacs/lisp/help.el:1.280
*** emacs/lisp/help.el:1.279 Sun Apr 10 01:47:43 2005
--- emacs/lisp/help.el Wed Apr 13 09:16:02 2005
***************
*** 590,596 ****
;; Don't bother user with strings from (e.g.) the select-paste menu.
(if (stringp (aref key (1- (length key))))
(aset key (1- (length key)) "(any string)"))
! (if (stringp (aref untranslated (1- (length untranslated))))
(aset untranslated (1- (length untranslated))
"(any string)"))
;; Now describe the key, perhaps as changed.
--- 590,597 ----
;; Don't bother user with strings from (e.g.) the select-paste menu.
(if (stringp (aref key (1- (length key))))
(aset key (1- (length key)) "(any string)"))
! (if (and (> (length untranslated) 0)
! (stringp (aref untranslated (1- (length untranslated)))))
(aset untranslated (1- (length untranslated))
"(any string)"))
;; Now describe the key, perhaps as changed.
***************
*** 603,609 ****
key-desc
(if (symbolp defn) defn (prin1-to-string defn)))))))))
-
(defun describe-key (key &optional untranslated up-event)
"Display documentation of the function invoked by KEY.
KEY should be a key sequence--when calling from a program,
--- 604,609 ----