diff options
| author | Chong Yidong | 2012-08-15 00:28:23 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-08-15 00:28:23 +0800 |
| commit | 55802e4a3dc1d6b1ffa05c193cdd94f9f69c1a41 (patch) | |
| tree | adc01d112307b091888d9e61c4b5c38590593ab5 /src | |
| parent | e38b9db247bec5413de0cd1001d376941a59ba29 (diff) | |
| download | emacs-55802e4a3dc1d6b1ffa05c193cdd94f9f69c1a41.tar.gz emacs-55802e4a3dc1d6b1ffa05c193cdd94f9f69c1a41.zip | |
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.
Fixes: debbugs:12059 debbugs:12085 debbugs:12061
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/chartab.c | 10 | ||||
| -rw-r--r-- | src/editfns.c | 8 |
3 files changed, 17 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 93dc127acdc..22f2ca18775 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-08-14 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * chartab.c (Fmap_char_table): Doc fix (Bug#12061). | ||
| 4 | |||
| 5 | * editfns.c (Fformat): Doc fix (Bug#12059). | ||
| 6 | |||
| 1 | 2012-08-14 Barry OReilly <gundaetiapo@gmail.com> (tiny change) | 7 | 2012-08-14 Barry OReilly <gundaetiapo@gmail.com> (tiny change) |
| 2 | 8 | ||
| 3 | * keyboard.c (access_keymap_keyremap): Accept anonymous functions | 9 | * keyboard.c (access_keymap_keyremap): Accept anonymous functions |
diff --git a/src/chartab.c b/src/chartab.c index e1252962612..c022bc03e66 100644 --- a/src/chartab.c +++ b/src/chartab.c | |||
| @@ -945,11 +945,11 @@ map_char_table (void (*c_function) (Lisp_Object, Lisp_Object, Lisp_Object), | |||
| 945 | 945 | ||
| 946 | DEFUN ("map-char-table", Fmap_char_table, Smap_char_table, | 946 | DEFUN ("map-char-table", Fmap_char_table, Smap_char_table, |
| 947 | 2, 2, 0, | 947 | 2, 2, 0, |
| 948 | doc: /* | 948 | doc: /* Call FUNCTION for each character in CHAR-TABLE that has non-nil value. |
| 949 | Call FUNCTION for each character in CHAR-TABLE that has non-nil value. | 949 | FUNCTION is called with two arguments, KEY and VALUE. |
| 950 | FUNCTION is called with two arguments--a key and a value. | 950 | KEY is a character code or a cons of character codes specifying a |
| 951 | The key is a character code or a cons of character codes specifying a | 951 | range of characters that have the same value. |
| 952 | range of characters that have the same value. */) | 952 | VALUE is what (char-table-range CHAR-TABLE KEY) returns. */) |
| 953 | (Lisp_Object function, Lisp_Object char_table) | 953 | (Lisp_Object function, Lisp_Object char_table) |
| 954 | { | 954 | { |
| 955 | CHECK_CHAR_TABLE (char_table); | 955 | CHECK_CHAR_TABLE (char_table); |
diff --git a/src/editfns.c b/src/editfns.c index c76009a099c..806c80c1936 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -3615,9 +3615,13 @@ where flags is [+ #-0]+, width is [0-9]+, and precision is .[0-9]+ | |||
| 3615 | The + flag character inserts a + before any positive number, while a | 3615 | The + flag character inserts a + before any positive number, while a |
| 3616 | space inserts a space before any positive number; these flags only | 3616 | space inserts a space before any positive number; these flags only |
| 3617 | affect %d, %e, %f, and %g sequences, and the + flag takes precedence. | 3617 | affect %d, %e, %f, and %g sequences, and the + flag takes precedence. |
| 3618 | The - and 0 flags affect the width specifier, as described below. | ||
| 3619 | |||
| 3618 | The # flag means to use an alternate display form for %o, %x, %X, %e, | 3620 | The # flag means to use an alternate display form for %o, %x, %X, %e, |
| 3619 | %f, and %g sequences. The - and 0 flags affect the width specifier, | 3621 | %f, and %g sequences: for %o, it ensures that the result begins with |
| 3620 | as described below. | 3622 | \"0\"; for %x and %X, it prefixes the result with \"0x\" or \"0X\"; |
| 3623 | for %e, %f, and %g, it causes a decimal point to be included even if | ||
| 3624 | the precision is zero. | ||
| 3621 | 3625 | ||
| 3622 | The width specifier supplies a lower limit for the length of the | 3626 | The width specifier supplies a lower limit for the length of the |
| 3623 | printed representation. The padding, if any, normally goes on the | 3627 | printed representation. The padding, if any, normally goes on the |