aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2012-01-28 11:04:55 +0800
committerChong Yidong2012-01-28 11:04:55 +0800
commitcc0adcb06af30c3f45d43c1231f7906d0844e131 (patch)
tree37aed2e5e8c1adb2c6e3a940160598d64cf638ee /src
parent2ae018000a88e003903a6964483afee0609bd9ac (diff)
downloademacs-cc0adcb06af30c3f45d43c1231f7906d0844e131.tar.gz
emacs-cc0adcb06af30c3f45d43c1231f7906d0844e131.zip
* minibuf.c (syms_of_minibuf): Doc fix.
Fixes: debbugs:10550
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/minibuf.c22
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 @@
12012-01-28 Chong Yidong <cyd@gnu.org>
2
3 * minibuf.c (syms_of_minibuf): Doc fix (Bug#10550).
4
12012-01-26 Chong Yidong <cyd@gnu.org> 52012-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.
2018A number means that length; t means infinite. Truncation takes place 2018A number means truncate to that length; truncation deletes old
2019just after a new element is inserted. Setting the `history-length' 2019elements, and is done just after inserting a new element.
2020property of a history variable overrides this default. */); 2020A value of t means no truncation.
2021
2022This variable only affects history lists that don't specify their own
2023maximum lengths. Setting the `history-length' property of a history
2024variable 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.
2025If set to t when adding a new history element, all previous identical 2029If set to t when adding a new history element, all previous identical
2026elements are deleted from the history list. */); 2030elements 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.
2031If set to nil, minibuffer reading functions don't add new elements to the 2035If set to nil, minibuffer reading functions don't add new elements to the
2032history list, so it is possible to do this afterwards by calling 2036history 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.
2046This variable makes a difference whenever the minibuffer window is active. */); 2050This 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.
2102Some uses of the echo area also raise that frame (since they use it too). */); 2106Some 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