diff options
| author | Chong Yidong | 2012-01-28 11:04:55 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-01-28 11:04:55 +0800 |
| commit | cc0adcb06af30c3f45d43c1231f7906d0844e131 (patch) | |
| tree | 37aed2e5e8c1adb2c6e3a940160598d64cf638ee /src | |
| parent | 2ae018000a88e003903a6964483afee0609bd9ac (diff) | |
| download | emacs-cc0adcb06af30c3f45d43c1231f7906d0844e131.tar.gz emacs-cc0adcb06af30c3f45d43c1231f7906d0844e131.zip | |
* minibuf.c (syms_of_minibuf): Doc fix.
Fixes: debbugs:10550
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/minibuf.c | 22 |
2 files changed, 17 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 79fbaa411d0..03db4199090 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-01-28 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * minibuf.c (syms_of_minibuf): Doc fix (Bug#10550). | ||
| 4 | |||
| 1 | 2012-01-26 Chong Yidong <cyd@gnu.org> | 5 | 2012-01-26 Chong Yidong <cyd@gnu.org> |
| 2 | 6 | ||
| 3 | * keyboard.c (Vecho_keystrokes): Document zero value (Bug#10503). | 7 | * keyboard.c (Vecho_keystrokes): Document zero value (Bug#10503). |
diff --git a/src/minibuf.c b/src/minibuf.c index f4f65fca485..a9bdf06b735 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -2002,7 +2002,7 @@ The function is called with the arguments passed to `read-buffer'. */); | |||
| 2002 | 2002 | ||
| 2003 | DEFVAR_BOOL ("read-buffer-completion-ignore-case", | 2003 | DEFVAR_BOOL ("read-buffer-completion-ignore-case", |
| 2004 | read_buffer_completion_ignore_case, | 2004 | read_buffer_completion_ignore_case, |
| 2005 | doc: /* *Non-nil means completion ignores case when reading a buffer name. */); | 2005 | doc: /* Non-nil means completion ignores case when reading a buffer name. */); |
| 2006 | read_buffer_completion_ignore_case = 0; | 2006 | read_buffer_completion_ignore_case = 0; |
| 2007 | 2007 | ||
| 2008 | DEFVAR_LISP ("minibuffer-setup-hook", Vminibuffer_setup_hook, | 2008 | DEFVAR_LISP ("minibuffer-setup-hook", Vminibuffer_setup_hook, |
| @@ -2014,20 +2014,24 @@ The function is called with the arguments passed to `read-buffer'. */); | |||
| 2014 | Vminibuffer_exit_hook = Qnil; | 2014 | Vminibuffer_exit_hook = Qnil; |
| 2015 | 2015 | ||
| 2016 | DEFVAR_LISP ("history-length", Vhistory_length, | 2016 | DEFVAR_LISP ("history-length", Vhistory_length, |
| 2017 | doc: /* *Maximum length for history lists before truncation takes place. | 2017 | doc: /* Maximum length of history lists before truncation takes place. |
| 2018 | A number means that length; t means infinite. Truncation takes place | 2018 | A number means truncate to that length; truncation deletes old |
| 2019 | just after a new element is inserted. Setting the `history-length' | 2019 | elements, and is done just after inserting a new element. |
| 2020 | property of a history variable overrides this default. */); | 2020 | A value of t means no truncation. |
| 2021 | |||
| 2022 | This variable only affects history lists that don't specify their own | ||
| 2023 | maximum lengths. Setting the `history-length' property of a history | ||
| 2024 | variable overrides this default. */); | ||
| 2021 | XSETFASTINT (Vhistory_length, 30); | 2025 | XSETFASTINT (Vhistory_length, 30); |
| 2022 | 2026 | ||
| 2023 | DEFVAR_BOOL ("history-delete-duplicates", history_delete_duplicates, | 2027 | DEFVAR_BOOL ("history-delete-duplicates", history_delete_duplicates, |
| 2024 | doc: /* *Non-nil means to delete duplicates in history. | 2028 | doc: /* Non-nil means to delete duplicates in history. |
| 2025 | If set to t when adding a new history element, all previous identical | 2029 | If set to t when adding a new history element, all previous identical |
| 2026 | elements are deleted from the history list. */); | 2030 | elements are deleted from the history list. */); |
| 2027 | history_delete_duplicates = 0; | 2031 | history_delete_duplicates = 0; |
| 2028 | 2032 | ||
| 2029 | DEFVAR_LISP ("history-add-new-input", Vhistory_add_new_input, | 2033 | DEFVAR_LISP ("history-add-new-input", Vhistory_add_new_input, |
| 2030 | doc: /* *Non-nil means to add new elements in history. | 2034 | doc: /* Non-nil means to add new elements in history. |
| 2031 | If set to nil, minibuffer reading functions don't add new elements to the | 2035 | If set to nil, minibuffer reading functions don't add new elements to the |
| 2032 | history list, so it is possible to do this afterwards by calling | 2036 | history list, so it is possible to do this afterwards by calling |
| 2033 | `add-to-history' explicitly. */); | 2037 | `add-to-history' explicitly. */); |
| @@ -2042,7 +2046,7 @@ controls the behavior, rather than this variable. */); | |||
| 2042 | completion_ignore_case = 0; | 2046 | completion_ignore_case = 0; |
| 2043 | 2047 | ||
| 2044 | DEFVAR_BOOL ("enable-recursive-minibuffers", enable_recursive_minibuffers, | 2048 | DEFVAR_BOOL ("enable-recursive-minibuffers", enable_recursive_minibuffers, |
| 2045 | doc: /* *Non-nil means to allow minibuffer commands while in the minibuffer. | 2049 | doc: /* Non-nil means to allow minibuffer commands while in the minibuffer. |
| 2046 | This variable makes a difference whenever the minibuffer window is active. */); | 2050 | This variable makes a difference whenever the minibuffer window is active. */); |
| 2047 | enable_recursive_minibuffers = 0; | 2051 | enable_recursive_minibuffers = 0; |
| 2048 | 2052 | ||
| @@ -2098,7 +2102,7 @@ is added with | |||
| 2098 | Vminibuffer_history_position = Qnil; | 2102 | Vminibuffer_history_position = Qnil; |
| 2099 | 2103 | ||
| 2100 | DEFVAR_BOOL ("minibuffer-auto-raise", minibuffer_auto_raise, | 2104 | DEFVAR_BOOL ("minibuffer-auto-raise", minibuffer_auto_raise, |
| 2101 | doc: /* *Non-nil means entering the minibuffer raises the minibuffer's frame. | 2105 | doc: /* Non-nil means entering the minibuffer raises the minibuffer's frame. |
| 2102 | Some uses of the echo area also raise that frame (since they use it too). */); | 2106 | Some uses of the echo area also raise that frame (since they use it too). */); |
| 2103 | minibuffer_auto_raise = 0; | 2107 | minibuffer_auto_raise = 0; |
| 2104 | 2108 | ||