[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r113423: lisp/simple.el (define-alternatives): Renam
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] trunk r113423: lisp/simple.el (define-alternatives): Rename from alternatives-define. |
Date: |
Mon, 15 Jul 2013 00:49:31 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 113423
revision-id: address@hidden
parent: address@hidden
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Mon 2013-07-15 02:49:22 +0200
message:
lisp/simple.el (define-alternatives): Rename from alternatives-define.
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/simple.el simple.el-20091113204419-o5vbwnq5f7feedwu-403
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2013-07-15 00:07:51 +0000
+++ b/lisp/ChangeLog 2013-07-15 00:49:22 +0000
@@ -1,3 +1,8 @@
+2013-07-15 Juanma Barranquero <address@hidden>
+
+ * simple.el (define-alternatives): Rename from alternatives-define,
+ per RMS' suggestion.
+
2013-07-14 Juanma Barranquero <address@hidden>
* desktop.el (desktop-restore-frames): Change default to t.
=== modified file 'lisp/simple.el'
--- a/lisp/simple.el 2013-07-13 07:26:43 +0000
+++ b/lisp/simple.el 2013-07-15 00:49:22 +0000
@@ -7437,19 +7437,19 @@
;;; Generic dispatcher commands
-;; Macro `alternatives-define' is used to create generic commands.
+;; Macro `define-alternatives' is used to create generic commands.
;; Generic commands are these (like web, mail, news, encrypt, irc, etc.)
;; that can have different alternative implementations where choosing
;; among them is exclusively a matter of user preference.
-;; (alternatives-define COMMAND) creates a new interactive command
+;; (define-alternatives COMMAND) creates a new interactive command
;; M-x COMMAND and a customizable variable COMMAND-alternatives.
;; Typically, the user will not need to customize this variable; packages
;; wanting to add alternative implementations should use
;;
;; ;;;###autoload (push '("My impl name" . my-impl-symbol) COMMAND-alternatives
-(defmacro alternatives-define (command &rest customizations)
+(defmacro define-alternatives (command &rest customizations)
"Define new command `COMMAND'.
The variable `COMMAND-alternatives' will contain alternative
implementations of COMMAND, so that running `C-u M-x COMMAND'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r113423: lisp/simple.el (define-alternatives): Rename from alternatives-define.,
Juanma Barranquero <=