[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r116055: * simple.el (define-alternatives): Fix docs
From: |
Bastien Guerry |
Subject: |
[Emacs-diffs] trunk r116055: * simple.el (define-alternatives): Fix docstring by advising |
Date: |
Fri, 17 Jan 2014 13:05:30 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 116055
revision-id: address@hidden
parent: address@hidden
committer: Bastien Guerry <address@hidden>
branch nick: trunk
timestamp: Fri 2014-01-17 14:05:09 +0100
message:
* simple.el (define-alternatives): Fix docstring by advising
developers to (defvar COMMAND-alternatives).
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/simple.el simple.el-20091113204419-o5vbwnq5f7feedwu-403
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-01-17 03:15:02 +0000
+++ b/lisp/ChangeLog 2014-01-17 13:05:09 +0000
@@ -1,3 +1,8 @@
+2014-01-17 Bastien Guerry <address@hidden>
+
+ * simple.el (define-alternatives): Fix docstring by advising
+ developers to (defvar COMMAND-alternatives).
+
2014-01-17 Dmitry Gutov <address@hidden>
* progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
=== modified file 'lisp/simple.el'
--- a/lisp/simple.el 2014-01-14 22:30:42 +0000
+++ b/lisp/simple.el 2014-01-17 13:05:09 +0000
@@ -7666,8 +7666,10 @@
and overwrites the previous choice.
The variable `COMMAND-alternatives' contains an alist with
-alternative implementations of COMMAND. `define-alternatives'
-does not have any effect until this variable is set.
+alternative implementations of COMMAND. Developers should
+use (defvar COMMAND-alternatives) to declare this variable
+after they write (define-alternatives COMMAND), otherwise
+the variable will not be handled by programs like etags.
CUSTOMIZATIONS, if non-nil, should be composed of alternating
`defcustom' keywords and values to add to the declaration of
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r116055: * simple.el (define-alternatives): Fix docstring by advising,
Bastien Guerry <=