[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r106010: (define-key-after): Clarify
From: |
Lars Magne Ingebrigtsen |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r106010: (define-key-after): Clarify that the function is not useful for non-menu keymaps. |
Date: |
Thu, 06 Oct 2011 21:15:19 +0200 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 106010
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Thu 2011-10-06 21:15:19 +0200
message:
(define-key-after): Clarify that the function is not useful for non-menu
keymaps.
modified:
lisp/ChangeLog
lisp/subr.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-10-06 16:11:38 +0000
+++ b/lisp/ChangeLog 2011-10-06 19:15:19 +0000
@@ -1,5 +1,8 @@
2011-10-06 Lars Magne Ingebrigtsen <address@hidden>
+ * subr.el (define-key-after): Clarify that the function is not
+ useful for non-menu keymaps.
+
* progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2011-10-06 Thierry Volpiatto <address@hidden>
=== modified file 'lisp/subr.el'
--- a/lisp/subr.el 2011-10-05 03:37:21 +0000
+++ b/lisp/subr.el 2011-10-06 19:15:19 +0000
@@ -552,7 +552,8 @@
Bindings are always added before any inherited map.
-The order of bindings in a keymap matters when it is used as a menu."
+The order of bindings in a keymap only matters when it is used as
+a menu, so this function is not useful for non-menu keymaps."
(unless after (setq after t))
(or (keymapp keymap)
(signal 'wrong-type-argument (list 'keymapp keymap)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r106010: (define-key-after): Clarify that the function is not useful for non-menu keymaps.,
Lars Magne Ingebrigtsen <=