simple.el (define-alternatives): Add 'definition-name to COMMAND-alternatives
* simple.el (define-alternatives): When creating the COMMAND-alternatives variable, assign COMMAND as its definition name so that `describe-variable' can relocate it. See http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01340.html
This commit is contained in:
parent
8b63edf8c6
commit
dac696602d
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
|
||||
|
||||
* simple.el (define-alternatives): When creating the
|
||||
COMMAND-alternatives variable, assign COMMAND as its definition
|
||||
name so that `describe-variable' can relocate it.
|
||||
|
||||
2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
|
||||
|
||||
* font-lock.el (font-lock-keywords): Fix typo in docstring
|
||||
|
|
|
@ -7688,6 +7688,7 @@ ALTFUN - The function called to implement this alternative."
|
|||
:type '(alist :key-type string :value-type function)
|
||||
,@customizations)
|
||||
|
||||
(put ',varalt-sym 'definition-name ',command)
|
||||
(defvar ,varimp-sym nil "Internal use only.")
|
||||
|
||||
(defun ,command (&optional arg)
|
||||
|
|
Loading…
Add table
Reference in a new issue