diff options
| author | Chong Yidong | 2012-08-15 01:10:38 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-08-15 01:10:38 +0800 |
| commit | 4abcdac823a757bffc204f5eb074eb09ad69e58a (patch) | |
| tree | 636778c2f514810defc0164b1d10d96970e1ab8b /src | |
| parent | 55802e4a3dc1d6b1ffa05c193cdd94f9f69c1a41 (diff) | |
| download | emacs-4abcdac823a757bffc204f5eb074eb09ad69e58a.tar.gz emacs-4abcdac823a757bffc204f5eb074eb09ad69e58a.zip | |
More doc fixes.
* lisp/minibuffer.el (read-file-name): Doc fix.
* character.c (Fcharacterp): Doc fix (Bug#12076).
* data.c (Findirect_variable): Doc fix (Bug#11040).
* editfns.c (Fsave_current_buffer): Doc fix (Bug#11542).
Fixes: debbugs:11542 debbugs:11040 debbugs:12076 debbugs:10881
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/character.c | 3 | ||||
| -rw-r--r-- | src/data.c | 10 | ||||
| -rw-r--r-- | src/editfns.c | 4 |
4 files changed, 16 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 22f2ca18775..956d6922d2e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,8 +1,13 @@ | |||
| 1 | 2012-08-14 Chong Yidong <cyd@gnu.org> | 1 | 2012-08-14 Chong Yidong <cyd@gnu.org> |
| 2 | 2 | ||
| 3 | * character.c (Fcharacterp): Doc fix (Bug#12076). | ||
| 4 | |||
| 5 | * data.c (Findirect_variable): Doc fix (Bug#11040). | ||
| 6 | |||
| 3 | * chartab.c (Fmap_char_table): Doc fix (Bug#12061). | 7 | * chartab.c (Fmap_char_table): Doc fix (Bug#12061). |
| 4 | 8 | ||
| 5 | * editfns.c (Fformat): Doc fix (Bug#12059). | 9 | * editfns.c (Fformat): Doc fix (Bug#12059). |
| 10 | (Fsave_current_buffer): Doc fix (Bug#11542). | ||
| 6 | 11 | ||
| 7 | 2012-08-14 Barry OReilly <gundaetiapo@gmail.com> (tiny change) | 12 | 2012-08-14 Barry OReilly <gundaetiapo@gmail.com> (tiny change) |
| 8 | 13 | ||
diff --git a/src/character.c b/src/character.c index bdb0eead740..b2acf36ec15 100644 --- a/src/character.c +++ b/src/character.c | |||
| @@ -258,6 +258,9 @@ multibyte_char_to_unibyte_safe (int c) | |||
| 258 | 258 | ||
| 259 | DEFUN ("characterp", Fcharacterp, Scharacterp, 1, 2, 0, | 259 | DEFUN ("characterp", Fcharacterp, Scharacterp, 1, 2, 0, |
| 260 | doc: /* Return non-nil if OBJECT is a character. | 260 | doc: /* Return non-nil if OBJECT is a character. |
| 261 | In Emacs Lisp, characters are represented by character codes, which | ||
| 262 | are non-negative integers. The function `max-char' returns the | ||
| 263 | maximum character code. | ||
| 261 | usage: (characterp OBJECT) */) | 264 | usage: (characterp OBJECT) */) |
| 262 | (Lisp_Object object, Lisp_Object ignore) | 265 | (Lisp_Object object, Lisp_Object ignore) |
| 263 | { | 266 | { |
diff --git a/src/data.c b/src/data.c index 3e278e8bac3..d0ef5734abc 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -808,10 +808,12 @@ indirect_variable (struct Lisp_Symbol *symbol) | |||
| 808 | 808 | ||
| 809 | DEFUN ("indirect-variable", Findirect_variable, Sindirect_variable, 1, 1, 0, | 809 | DEFUN ("indirect-variable", Findirect_variable, Sindirect_variable, 1, 1, 0, |
| 810 | doc: /* Return the variable at the end of OBJECT's variable chain. | 810 | doc: /* Return the variable at the end of OBJECT's variable chain. |
| 811 | If OBJECT is a symbol, follow all variable indirections and return the final | 811 | If OBJECT is a symbol, follow its variable indirections (if any), and |
| 812 | variable. If OBJECT is not a symbol, just return it. | 812 | return the variable at the end of the chain of aliases. See Info node |
| 813 | Signal a cyclic-variable-indirection error if there is a loop in the | 813 | `(elisp)Variable Aliases'. |
| 814 | variable chain of symbols. */) | 814 | |
| 815 | If OBJECT is not a symbol, just return it. If there is a loop in the | ||
| 816 | chain of aliases, signal a `cyclic-variable-indirection' error. */) | ||
| 815 | (Lisp_Object object) | 817 | (Lisp_Object object) |
| 816 | { | 818 | { |
| 817 | if (SYMBOLP (object)) | 819 | if (SYMBOLP (object)) |
diff --git a/src/editfns.c b/src/editfns.c index 806c80c1936..5ac012c8378 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -946,8 +946,8 @@ usage: (save-excursion &rest BODY) */) | |||
| 946 | } | 946 | } |
| 947 | 947 | ||
| 948 | DEFUN ("save-current-buffer", Fsave_current_buffer, Ssave_current_buffer, 0, UNEVALLED, 0, | 948 | DEFUN ("save-current-buffer", Fsave_current_buffer, Ssave_current_buffer, 0, UNEVALLED, 0, |
| 949 | doc: /* Save the current buffer; execute BODY; restore the current buffer. | 949 | doc: /* Record which buffer is current; execute BODY; make that buffer current. |
| 950 | Executes BODY just like `progn'. | 950 | BODY is executed just like `progn'. |
| 951 | usage: (save-current-buffer &rest BODY) */) | 951 | usage: (save-current-buffer &rest BODY) */) |
| 952 | (Lisp_Object args) | 952 | (Lisp_Object args) |
| 953 | { | 953 | { |