aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog33
-rw-r--r--src/coding.c4
-rw-r--r--src/eval.c15
-rw-r--r--src/gnutls.c5
-rw-r--r--src/keyboard.c25
-rw-r--r--src/lread.c3
-rw-r--r--src/minibuf.c22
-rw-r--r--src/s/gnu.h2
-rw-r--r--src/search.c8
9 files changed, 83 insertions, 34 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c8b1e654830..89fa90d9f92 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,36 @@
12012-01-29 Glenn Morris <rgm@gnu.org>
2
3 * gnutls.c (syms_of_gnutls): More doc (from etc/NEWS).
4
52012-01-28 Samuel Thibault <sthibault@debian.org> (tiny change)
6
7 * s/gnu.h: Define POSIX_SIGNALS (Bug#10552).
8
92012-01-28 Chong Yidong <cyd@gnu.org>
10
11
12 * minibuf.c (syms_of_minibuf): Doc fix (Bug#10550).
13
142012-01-26 Chong Yidong <cyd@gnu.org>
15
16 * keyboard.c (Vecho_keystrokes): Document zero value (Bug#10503).
17
18 * search.c (Fsearch_forward, Fsearch_backward): Document negative
19 repeat counts (Bug#10507).
20
212012-01-26 Glenn Morris <rgm@gnu.org>
22
23 * lread.c (syms_of_lread): Doc fix.
24
252012-01-25 HIROSHI OOTA <nil@mad.dog.cx> (tiny change)
26
27 * coding.c (encode_designation_at_bol): Change return value to
28 EMACS_INT.
29
302012-01-25 Chong Yidong <cyd@gnu.org>
31
32 * eval.c (Fuser_variable_p): Doc fix; mention custom-variable-p.
33
12012-01-21 Chong Yidong <cyd@gnu.org> 342012-01-21 Chong Yidong <cyd@gnu.org>
2 35
3 * floatfns.c (Fcopysign): Make the second argument non-optional, 36 * floatfns.c (Fcopysign): Make the second argument non-optional,
diff --git a/src/coding.c b/src/coding.c
index 5c3048f95e8..15e8572edb3 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -855,7 +855,7 @@ static void coding_alloc_by_making_gap (struct coding_system *,
855static unsigned char *alloc_destination (struct coding_system *, 855static unsigned char *alloc_destination (struct coding_system *,
856 EMACS_INT, unsigned char *); 856 EMACS_INT, unsigned char *);
857static void setup_iso_safe_charsets (Lisp_Object); 857static void setup_iso_safe_charsets (Lisp_Object);
858static int encode_designation_at_bol (struct coding_system *, 858static EMACS_INT encode_designation_at_bol (struct coding_system *,
859 int *, int *, unsigned char *); 859 int *, int *, unsigned char *);
860static int detect_eol (const unsigned char *, 860static int detect_eol (const unsigned char *,
861 EMACS_INT, enum coding_category); 861 EMACS_INT, enum coding_category);
@@ -4351,7 +4351,7 @@ encode_invocation_designation (struct charset *charset,
4351 If the current block ends before any end-of-line, we may fail to 4351 If the current block ends before any end-of-line, we may fail to
4352 find all the necessary designations. */ 4352 find all the necessary designations. */
4353 4353
4354static int 4354static EMACS_INT
4355encode_designation_at_bol (struct coding_system *coding, 4355encode_designation_at_bol (struct coding_system *coding,
4356 int *charbuf, int *charbuf_end, 4356 int *charbuf, int *charbuf_end,
4357 unsigned char *dst) 4357 unsigned char *dst)
diff --git a/src/eval.c b/src/eval.c
index 7b1c516d756..dbd06e7c1b1 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -926,13 +926,14 @@ lisp_indirect_variable (Lisp_Object sym)
926DEFUN ("user-variable-p", Fuser_variable_p, Suser_variable_p, 1, 1, 0, 926DEFUN ("user-variable-p", Fuser_variable_p, Suser_variable_p, 1, 1, 0,
927 doc: /* Return t if VARIABLE is intended to be set and modified by users. 927 doc: /* Return t if VARIABLE is intended to be set and modified by users.
928\(The alternative is a variable used internally in a Lisp program.) 928\(The alternative is a variable used internally in a Lisp program.)
929A variable is a user variable if 929
930\(1) the first character of its documentation is `*', or 930This function returns t if (i) the first character of its
931\(2) it is customizable (its property list contains a non-nil value 931documentation is `*', or (ii) it is customizable (its property list
932 of `standard-value' or `custom-autoload'), or 932contains a non-nil value of `standard-value' or `custom-autoload'), or
933\(3) it is an alias for another user variable. 933\(iii) it is an alias for a user variable.
934Return nil if VARIABLE is an alias and there is a loop in the 934
935chain of symbols. */) 935But condition (i) is considered obsolete, so for most purposes this is
936equivalent to `custom-variable-p'. */)
936 (Lisp_Object variable) 937 (Lisp_Object variable)
937{ 938{
938 Lisp_Object documentation; 939 Lisp_Object documentation;
diff --git a/src/gnutls.c b/src/gnutls.c
index e7801cea746..d7bf0e8edb8 100644
--- a/src/gnutls.c
+++ b/src/gnutls.c
@@ -1118,7 +1118,10 @@ syms_of_gnutls (void)
1118 defsubr (&Sgnutls_available_p); 1118 defsubr (&Sgnutls_available_p);
1119 1119
1120 DEFVAR_INT ("gnutls-log-level", global_gnutls_log_level, 1120 DEFVAR_INT ("gnutls-log-level", global_gnutls_log_level,
1121 doc: /* Logging level used by the GnuTLS functions. */); 1121 doc: /* Logging level used by the GnuTLS functions.
1122Set this larger than 0 to get debug output in the *Messages* buffer.
11231 is for important messages, 2 is for debug data, and higher numbers
1124are as per the GnuTLS logging conventions. */);
1122 global_gnutls_log_level = 0; 1125 global_gnutls_log_level = 0;
1123} 1126}
1124 1127
diff --git a/src/keyboard.c b/src/keyboard.c
index 12eb162df9a..87103177eab 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -11855,38 +11855,39 @@ result of looking up the original command in the active keymaps. */);
11855 Vthis_original_command = Qnil; 11855 Vthis_original_command = Qnil;
11856 11856
11857 DEFVAR_INT ("auto-save-interval", auto_save_interval, 11857 DEFVAR_INT ("auto-save-interval", auto_save_interval,
11858 doc: /* *Number of input events between auto-saves. 11858 doc: /* Number of input events between auto-saves.
11859Zero means disable autosaving due to number of characters typed. */); 11859Zero means disable autosaving due to number of characters typed. */);
11860 auto_save_interval = 300; 11860 auto_save_interval = 300;
11861 11861
11862 DEFVAR_LISP ("auto-save-timeout", Vauto_save_timeout, 11862 DEFVAR_LISP ("auto-save-timeout", Vauto_save_timeout,
11863 doc: /* *Number of seconds idle time before auto-save. 11863 doc: /* Number of seconds idle time before auto-save.
11864Zero or nil means disable auto-saving due to idleness. 11864Zero or nil means disable auto-saving due to idleness.
11865After auto-saving due to this many seconds of idle time, 11865After auto-saving due to this many seconds of idle time,
11866Emacs also does a garbage collection if that seems to be warranted. */); 11866Emacs also does a garbage collection if that seems to be warranted. */);
11867 XSETFASTINT (Vauto_save_timeout, 30); 11867 XSETFASTINT (Vauto_save_timeout, 30);
11868 11868
11869 DEFVAR_LISP ("echo-keystrokes", Vecho_keystrokes, 11869 DEFVAR_LISP ("echo-keystrokes", Vecho_keystrokes,
11870 doc: /* *Nonzero means echo unfinished commands after this many seconds of pause. 11870 doc: /* Nonzero means echo unfinished commands after this many seconds of pause.
11871The value may be integer or floating point. */); 11871The value may be integer or floating point.
11872If the value is zero, don't echo at all. */);
11872 Vecho_keystrokes = make_number (1); 11873 Vecho_keystrokes = make_number (1);
11873 11874
11874 DEFVAR_INT ("polling-period", polling_period, 11875 DEFVAR_INT ("polling-period", polling_period,
11875 doc: /* *Interval between polling for input during Lisp execution. 11876 doc: /* Interval between polling for input during Lisp execution.
11876The reason for polling is to make C-g work to stop a running program. 11877The reason for polling is to make C-g work to stop a running program.
11877Polling is needed only when using X windows and SIGIO does not work. 11878Polling is needed only when using X windows and SIGIO does not work.
11878Polling is automatically disabled in all other cases. */); 11879Polling is automatically disabled in all other cases. */);
11879 polling_period = 2; 11880 polling_period = 2;
11880 11881
11881 DEFVAR_LISP ("double-click-time", Vdouble_click_time, 11882 DEFVAR_LISP ("double-click-time", Vdouble_click_time,
11882 doc: /* *Maximum time between mouse clicks to make a double-click. 11883 doc: /* Maximum time between mouse clicks to make a double-click.
11883Measured in milliseconds. The value nil means disable double-click 11884Measured in milliseconds. The value nil means disable double-click
11884recognition; t means double-clicks have no time limit and are detected 11885recognition; t means double-clicks have no time limit and are detected
11885by position only. */); 11886by position only. */);
11886 Vdouble_click_time = make_number (500); 11887 Vdouble_click_time = make_number (500);
11887 11888
11888 DEFVAR_INT ("double-click-fuzz", double_click_fuzz, 11889 DEFVAR_INT ("double-click-fuzz", double_click_fuzz,
11889 doc: /* *Maximum mouse movement between clicks to make a double-click. 11890 doc: /* Maximum mouse movement between clicks to make a double-click.
11890On window-system frames, value is the number of pixels the mouse may have 11891On window-system frames, value is the number of pixels the mouse may have
11891moved horizontally or vertically between two clicks to make a double-click. 11892moved horizontally or vertically between two clicks to make a double-click.
11892On non window-system frames, value is interpreted in units of 1/8 characters 11893On non window-system frames, value is interpreted in units of 1/8 characters
@@ -11897,7 +11898,7 @@ to count as a drag. */);
11897 double_click_fuzz = 3; 11898 double_click_fuzz = 3;
11898 11899
11899 DEFVAR_BOOL ("inhibit-local-menu-bar-menus", inhibit_local_menu_bar_menus, 11900 DEFVAR_BOOL ("inhibit-local-menu-bar-menus", inhibit_local_menu_bar_menus,
11900 doc: /* *Non-nil means inhibit local map menu bar menus. */); 11901 doc: /* Non-nil means inhibit local map menu bar menus. */);
11901 inhibit_local_menu_bar_menus = 0; 11902 inhibit_local_menu_bar_menus = 0;
11902 11903
11903 DEFVAR_INT ("num-input-keys", num_input_keys, 11904 DEFVAR_INT ("num-input-keys", num_input_keys,
@@ -12072,7 +12073,7 @@ and the minor mode maps regardless of `overriding-local-map'. */);
12072 Vspecial_event_map = Fcons (intern_c_string ("keymap"), Qnil); 12073 Vspecial_event_map = Fcons (intern_c_string ("keymap"), Qnil);
12073 12074
12074 DEFVAR_LISP ("track-mouse", do_mouse_tracking, 12075 DEFVAR_LISP ("track-mouse", do_mouse_tracking,
12075 doc: /* *Non-nil means generate motion events for mouse motion. */); 12076 doc: /* Non-nil means generate motion events for mouse motion. */);
12076 12077
12077 DEFVAR_KBOARD ("system-key-alist", Vsystem_key_alist, 12078 DEFVAR_KBOARD ("system-key-alist", Vsystem_key_alist,
12078 doc: /* Alist of system-specific X windows key symbols. 12079 doc: /* Alist of system-specific X windows key symbols.
@@ -12166,7 +12167,7 @@ immediately after running `post-command-hook'. */);
12166 Vdelayed_warnings_list = Qnil; 12167 Vdelayed_warnings_list = Qnil;
12167 12168
12168 DEFVAR_LISP ("suggest-key-bindings", Vsuggest_key_bindings, 12169 DEFVAR_LISP ("suggest-key-bindings", Vsuggest_key_bindings,
12169 doc: /* *Non-nil means show the equivalent key-binding when M-x command has one. 12170 doc: /* Non-nil means show the equivalent key-binding when M-x command has one.
12170The value can be a length of time to show the message for. 12171The value can be a length of time to show the message for.
12171If the value is non-nil and not a number, we wait 2 seconds. */); 12172If the value is non-nil and not a number, we wait 2 seconds. */);
12172 Vsuggest_key_bindings = Qt; 12173 Vsuggest_key_bindings = Qt;
@@ -12226,7 +12227,7 @@ just after executing the command. */);
12226 12227
12227 DEFVAR_LISP ("global-disable-point-adjustment", 12228 DEFVAR_LISP ("global-disable-point-adjustment",
12228 Vglobal_disable_point_adjustment, 12229 Vglobal_disable_point_adjustment,
12229 doc: /* *If non-nil, always suppress point adjustment. 12230 doc: /* If non-nil, always suppress point adjustment.
12230 12231
12231The default value is nil, in which case, point adjustment are 12232The default value is nil, in which case, point adjustment are
12232suppressed only after special commands that set 12233suppressed only after special commands that set
@@ -12234,7 +12235,7 @@ suppressed only after special commands that set
12234 Vglobal_disable_point_adjustment = Qnil; 12235 Vglobal_disable_point_adjustment = Qnil;
12235 12236
12236 DEFVAR_LISP ("minibuffer-message-timeout", Vminibuffer_message_timeout, 12237 DEFVAR_LISP ("minibuffer-message-timeout", Vminibuffer_message_timeout,
12237 doc: /* *How long to display an echo-area message when the minibuffer is active. 12238 doc: /* How long to display an echo-area message when the minibuffer is active.
12238If the value is not a number, such messages don't time out. */); 12239If the value is not a number, such messages don't time out. */);
12239 Vminibuffer_message_timeout = make_number (2); 12240 Vminibuffer_message_timeout = make_number (2);
12240 12241
diff --git a/src/lread.c b/src/lread.c
index 23cda8eed6d..353f4a3064d 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -4595,7 +4595,8 @@ to load. See also `load-dangerous-libraries'. */);
4595Non-nil means that the code in the current buffer should be evaluated 4595Non-nil means that the code in the current buffer should be evaluated
4596with lexical binding. 4596with lexical binding.
4597This variable is automatically set from the file variables of an 4597This variable is automatically set from the file variables of an
4598interpreted Lisp file read using `load'. */); 4598interpreted Lisp file read using `load'. Unlike other file local
4599variables, this must be set in the first line of a file. */);
4599 Fmake_variable_buffer_local (Qlexical_binding); 4600 Fmake_variable_buffer_local (Qlexical_binding);
4600 4601
4601 DEFVAR_LISP ("eval-buffer-list", Veval_buffer_list, 4602 DEFVAR_LISP ("eval-buffer-list", Veval_buffer_list,
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
diff --git a/src/s/gnu.h b/src/s/gnu.h
index be831a833a5..37aaa1357cc 100644
--- a/src/s/gnu.h
+++ b/src/s/gnu.h
@@ -44,5 +44,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
44#endif /* !_IO_STDIO_H */ 44#endif /* !_IO_STDIO_H */
45#endif /* emacs */ 45#endif /* emacs */
46 46
47#define POSIX_SIGNALS 1
48
47/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack. */ 49/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack. */
48#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS 50#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
diff --git a/src/search.c b/src/search.c
index 67323b3c6e7..55a6d893479 100644
--- a/src/search.c
+++ b/src/search.c
@@ -2181,7 +2181,9 @@ An optional second argument bounds the search; it is a buffer position.
2181The match found must not extend before that position. 2181The match found must not extend before that position.
2182Optional third argument, if t, means if fail just return nil (no error). 2182Optional third argument, if t, means if fail just return nil (no error).
2183 If not nil and not t, position at limit of search and return nil. 2183 If not nil and not t, position at limit of search and return nil.
2184Optional fourth argument is repeat count--search for successive occurrences. 2184Optional fourth argument COUNT, if non-nil, means to search for COUNT
2185 successive occurrences. If COUNT is negative, search forward,
2186 instead of backward, for -COUNT occurrences.
2185 2187
2186Search case-sensitivity is determined by the value of the variable 2188Search case-sensitivity is determined by the value of the variable
2187`case-fold-search', which see. 2189`case-fold-search', which see.
@@ -2200,7 +2202,9 @@ The match found must not extend after that position. A value of nil is
2200 equivalent to (point-max). 2202 equivalent to (point-max).
2201Optional third argument, if t, means if fail just return nil (no error). 2203Optional third argument, if t, means if fail just return nil (no error).
2202 If not nil and not t, move to limit of search and return nil. 2204 If not nil and not t, move to limit of search and return nil.
2203Optional fourth argument is repeat count--search for successive occurrences. 2205Optional fourth argument COUNT, if non-nil, means to search for COUNT
2206 successive occurrences. If COUNT is negative, search backward,
2207 instead of forward, for -COUNT occurrences.
2204 2208
2205Search case-sensitivity is determined by the value of the variable 2209Search case-sensitivity is determined by the value of the variable
2206`case-fold-search', which see. 2210`case-fold-search', which see.