[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r115587: Minor fixes for Lispref's modes.texi
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] trunk r115587: Minor fixes for Lispref's modes.texi |
Date: |
Wed, 18 Dec 2013 05:31:16 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 115587
revision-id: address@hidden
parent: address@hidden
fixes bugs: http://debbugs.gnu.org/11522 http://debbugs.gnu.org/14874
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Wed 2013-12-18 13:31:11 +0800
message:
Minor fixes for Lispref's modes.texi
* modes.texi (Defining Minor Modes): Fix typo.
(Keymaps and Minor Modes): Fix binding convention.
modified:
doc/lispref/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-6155
doc/lispref/modes.texi modes.texi-20091113204419-o5vbwnq5f7feedwu-6201
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2013-12-13 18:25:30 +0000
+++ b/doc/lispref/ChangeLog 2013-12-18 05:31:11 +0000
@@ -1,3 +1,8 @@
+2013-12-18 Chong Yidong <address@hidden>
+
+ * modes.texi (Defining Minor Modes): Fix typo (Bug#14874).
+ (Keymaps and Minor Modes): Fix binding convention (Bug#11522).
+
2013-12-13 Glenn Morris <address@hidden>
* internals.texi (Building Emacs):
=== modified file 'doc/lispref/modes.texi'
--- a/doc/lispref/modes.texi 2013-11-29 03:38:20 +0000
+++ b/doc/lispref/modes.texi 2013-12-18 05:31:11 +0000
@@ -1506,9 +1506,11 @@
own definition of @code{self-insert-command} for the standard one. The
editor command loop handles this function specially.)
-The key sequences bound in a minor mode should consist of @kbd{C-c}
-followed by one of @kbd{.,/?`'"[]\|~!#$%^&*()-_+=}. (The other
-punctuation characters are reserved for major modes.)
+Minor modes may bind commands to key sequences consisting of @kbd{C-c}
+followed by a punctuation character. However, sequences consisting of
address@hidden followed by one of @address@hidden@}<>:;}, or a control
character or
+digit, are reserved for major modes. Also, @kbd{C-c @var{letter}} is
+reserved for users. @xref{Key Binding Conventions}.
@node Defining Minor Modes
@subsection Defining Minor Modes
@@ -1683,7 +1685,7 @@
This defines a global toggle named @var{global-mode} whose meaning is
to enable or disable the buffer-local minor mode @var{mode} in all
buffers. To turn on the minor mode in a buffer, it uses the function
address@hidden; to turn off the minor mode, it calls @code{mode} with
address@hidden; to turn off the minor mode, it calls @var{mode} with
@minus{}1 as argument.
Globally enabling the mode also affects buffers subsequently created
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r115587: Minor fixes for Lispref's modes.texi,
Chong Yidong <=