[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109611: Doc fixes.
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109611: Doc fixes. |
Date: |
Wed, 15 Aug 2012 00:28:23 +0800 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109611
fixes bugs: http://debbugs.gnu.org/12059 http://debbugs.gnu.org/12085
http://debbugs.gnu.org/12061
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Wed 2012-08-15 00:28:23 +0800
message:
Doc fixes.
* lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix.
* src/chartab.c (Fmap_char_table): Doc fix.
* src/editfns.c (Fformat): Doc fix.
modified:
lisp/ChangeLog
lisp/emacs-lisp/regexp-opt.el
src/ChangeLog
src/chartab.c
src/editfns.c
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-08-14 15:58:46 +0000
+++ b/lisp/ChangeLog 2012-08-14 16:28:23 +0000
@@ -1,3 +1,8 @@
+2012-08-14 Chong Yidong <address@hidden>
+
+ * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
+ (Bug#12085).
+
2012-08-14 Glenn Morris <address@hidden>
* emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
=== modified file 'lisp/emacs-lisp/regexp-opt.el'
--- a/lisp/emacs-lisp/regexp-opt.el 2012-04-16 03:47:43 +0000
+++ b/lisp/emacs-lisp/regexp-opt.el 2012-08-14 16:28:23 +0000
@@ -234,7 +234,8 @@
(defun regexp-opt-charset (chars)
- "Return a regexp to match a character in CHARS."
+ "Return a regexp to match a character in CHARS.
+CHARS should be a list of characters."
;; The basic idea is to find character ranges. Also we take care in the
;; position of character set meta characters in the character set regexp.
;;
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-08-14 12:11:59 +0000
+++ b/src/ChangeLog 2012-08-14 16:28:23 +0000
@@ -1,3 +1,9 @@
+2012-08-14 Chong Yidong <address@hidden>
+
+ * chartab.c (Fmap_char_table): Doc fix (Bug#12061).
+
+ * editfns.c (Fformat): Doc fix (Bug#12059).
+
2012-08-14 Barry OReilly <address@hidden> (tiny change)
* keyboard.c (access_keymap_keyremap): Accept anonymous functions
=== modified file 'src/chartab.c'
--- a/src/chartab.c 2011-12-11 00:56:50 +0000
+++ b/src/chartab.c 2012-08-14 16:28:23 +0000
@@ -945,11 +945,11 @@
DEFUN ("map-char-table", Fmap_char_table, Smap_char_table,
2, 2, 0,
- doc: /*
-Call FUNCTION for each character in CHAR-TABLE that has non-nil value.
-FUNCTION is called with two arguments--a key and a value.
-The key is a character code or a cons of character codes specifying a
-range of characters that have the same value. */)
+ doc: /* Call FUNCTION for each character in CHAR-TABLE that has non-nil
value.
+FUNCTION is called with two arguments, KEY and VALUE.
+KEY is a character code or a cons of character codes specifying a
+range of characters that have the same value.
+VALUE is what (char-table-range CHAR-TABLE KEY) returns. */)
(Lisp_Object function, Lisp_Object char_table)
{
CHECK_CHAR_TABLE (char_table);
=== modified file 'src/editfns.c'
--- a/src/editfns.c 2012-08-14 04:49:18 +0000
+++ b/src/editfns.c 2012-08-14 16:28:23 +0000
@@ -3615,9 +3615,13 @@
The + flag character inserts a + before any positive number, while a
space inserts a space before any positive number; these flags only
affect %d, %e, %f, and %g sequences, and the + flag takes precedence.
+The - and 0 flags affect the width specifier, as described below.
+
The # flag means to use an alternate display form for %o, %x, %X, %e,
-%f, and %g sequences. The - and 0 flags affect the width specifier,
-as described below.
+%f, and %g sequences: for %o, it ensures that the result begins with
+\"0\"; for %x and %X, it prefixes the result with \"0x\" or \"0X\";
+for %e, %f, and %g, it causes a decimal point to be included even if
+the precision is zero.
The width specifier supplies a lower limit for the length of the
printed representation. The padding, if any, normally goes on the
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109611: Doc fixes.,
Chong Yidong <=