aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-09-21 22:11:43 +0200
committerLars Ingebrigtsen2021-09-21 22:11:43 +0200
commit85e9e5f616fb0fd0819a04006d6d2a0fb6d93ad7 (patch)
treec70d2f6d0d1d80892841f2110d69315fde55515d /src
parent636e082e451aacb881a94b6c5b3dafb15d7eaa3d (diff)
downloademacs-85e9e5f616fb0fd0819a04006d6d2a0fb6d93ad7.tar.gz
emacs-85e9e5f616fb0fd0819a04006d6d2a0fb6d93ad7.zip
Don't quote nil and t in doc strings and comments
* test/src/minibuf-tests.el (test-try-completion-ignore-case): * test/lisp/url/url-auth-tests.el (url-auth-test-digest-auth-retrieve-cache): * test/lisp/subr-tests.el (subr-tests-add-hook-depth): * test/lisp/so-long-tests/so-long-tests.el (so-long-tests-invisible-buffer-function): * test/lisp/emacs-lisp/tabulated-list-test.el (tabulated-list-sort): * src/xfaces.c: * src/process.c (Finterrupt_process): (syms_of_process): * src/minibuf.c (Fread_from_minibuffer): (Fcompleting_read): (syms_of_minibuf): * src/dispnew.c (syms_of_display): * src/data.c: * lisp/so-long.el (so-long--hack-local-variables): * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): (elisp--xref-find-definitions): * lisp/org/ox-html.el (org-html-htmlize-output-type): * lisp/org/org-agenda.el (org-agenda-do-in-region): * lisp/net/tramp.el: * lisp/minibuffer.el (set-minibuffer-message): * lisp/isearch.el (isearch-wrap-pause): (isearch-repeat-on-direction-change): * lisp/emacs-lisp/timer.el (timer): * lisp/emacs-lisp/package.el (package-read-archive-contents): * lisp/emacs-lisp/faceup.el (faceup-next-property-change): * lisp/emacs-lisp/comp.el (comp-func): * lisp/emacs-lisp/comp-cstr.el (comp-cstr-empty-p): * lisp/emacs-lisp/cl-macs.el (cl-do): (cl-do*): (cl--self-tco): * lisp/emacs-lisp/bytecomp.el (byte-compile-unresolved-functions): (byte-compile-cond-jump-table): Don't quote t and nil.
Diffstat (limited to 'src')
-rw-r--r--src/data.c2
-rw-r--r--src/dispnew.c2
-rw-r--r--src/minibuf.c9
-rw-r--r--src/process.c4
-rw-r--r--src/xfaces.c4
5 files changed, 10 insertions, 11 deletions
diff --git a/src/data.c b/src/data.c
index 27b642df286..0d3376f0903 100644
--- a/src/data.c
+++ b/src/data.c
@@ -681,7 +681,7 @@ global value outside of any lexical scope. */)
681/* It has been previously suggested to make this function an alias for 681/* It has been previously suggested to make this function an alias for
682 symbol-function, but upon discussion at Bug#23957, there is a risk 682 symbol-function, but upon discussion at Bug#23957, there is a risk
683 breaking backward compatibility, as some users of fboundp may 683 breaking backward compatibility, as some users of fboundp may
684 expect `t' in particular, rather than any true value. */ 684 expect t in particular, rather than any true value. */
685DEFUN ("fboundp", Ffboundp, Sfboundp, 1, 1, 0, 685DEFUN ("fboundp", Ffboundp, Sfboundp, 1, 1, 0,
686 doc: /* Return t if SYMBOL's function definition is not void. */) 686 doc: /* Return t if SYMBOL's function definition is not void. */)
687 (Lisp_Object symbol) 687 (Lisp_Object symbol)
diff --git a/src/dispnew.c b/src/dispnew.c
index 0c313199173..69c2023fdf3 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6704,7 +6704,7 @@ See `buffer-display-table' for more information. */);
6704 6704
6705 DEFVAR_LISP ("tab-bar-position", Vtab_bar_position, 6705 DEFVAR_LISP ("tab-bar-position", Vtab_bar_position,
6706 doc: /* Specify on which side from the tool bar the tab bar shall be. 6706 doc: /* Specify on which side from the tool bar the tab bar shall be.
6707Possible values are `t' (below the tool bar), `nil' (above the tool bar). 6707Possible values are t (below the tool bar), nil (above the tool bar).
6708This option affects only builds where the tool bar is not external. */); 6708This option affects only builds where the tool bar is not external. */);
6709 6709
6710 pdumper_do_now_and_after_load (syms_of_display_for_pdumper); 6710 pdumper_do_now_and_after_load (syms_of_display_for_pdumper);
diff --git a/src/minibuf.c b/src/minibuf.c
index a4219d2a63f..4b72d3e896b 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1292,8 +1292,8 @@ Fifth arg HIST, if non-nil, specifies a history list and optionally
1292 HISTPOS is the initial position for use by the minibuffer history 1292 HISTPOS is the initial position for use by the minibuffer history
1293 commands. For consistency, you should also specify that element of 1293 commands. For consistency, you should also specify that element of
1294 the history as the value of INITIAL-CONTENTS. Positions are counted 1294 the history as the value of INITIAL-CONTENTS. Positions are counted
1295 starting from 1 at the beginning of the list. If HIST is the symbol 1295 starting from 1 at the beginning of the list. If HIST is t, history
1296 `t', history is not recorded. 1296 is not recorded.
1297 1297
1298 If `history-add-new-input' is non-nil (the default), the result will 1298 If `history-add-new-input' is non-nil (the default), the result will
1299 be added to the history list using `add-to-history'. 1299 be added to the history list using `add-to-history'.
@@ -2037,8 +2037,7 @@ HIST, if non-nil, specifies a history list and optionally the initial
2037 (This is the only case in which you should use INITIAL-INPUT instead 2037 (This is the only case in which you should use INITIAL-INPUT instead
2038 of DEF.) Positions are counted starting from 1 at the beginning of 2038 of DEF.) Positions are counted starting from 1 at the beginning of
2039 the list. The variable `history-length' controls the maximum length 2039 the list. The variable `history-length' controls the maximum length
2040 of a history list. If HIST is the symbol `t', history is not 2040 of a history list. If HIST is t, history is not recorded.
2041 recorded.
2042 2041
2043DEF, if non-nil, is the default value or the list of default values. 2042DEF, if non-nil, is the default value or the list of default values.
2044 2043
@@ -2486,7 +2485,7 @@ is added with
2486 (set minibuffer-history-variable 2485 (set minibuffer-history-variable
2487 (cons STRING (symbol-value minibuffer-history-variable))) 2486 (cons STRING (symbol-value minibuffer-history-variable)))
2488 2487
2489 If the variable is the symbol `t', no history is recorded. */); 2488 If the variable is t, no history is recorded. */);
2490 XSETFASTINT (Vminibuffer_history_variable, 0); 2489 XSETFASTINT (Vminibuffer_history_variable, 0);
2491 2490
2492 DEFVAR_LISP ("minibuffer-history-position", Vminibuffer_history_position, 2491 DEFVAR_LISP ("minibuffer-history-position", Vminibuffer_history_position,
diff --git a/src/process.c b/src/process.c
index bfca165fcad..58347a154a3 100644
--- a/src/process.c
+++ b/src/process.c
@@ -6887,7 +6887,7 @@ If CURRENT-GROUP is `lambda', and if the shell owns the terminal,
6887don't send the signal. 6887don't send the signal.
6888 6888
6889This function calls the functions of `interrupt-process-functions' in 6889This function calls the functions of `interrupt-process-functions' in
6890the order of the list, until one of them returns non-`nil'. */) 6890the order of the list, until one of them returns non-nil. */)
6891 (Lisp_Object process, Lisp_Object current_group) 6891 (Lisp_Object process, Lisp_Object current_group)
6892{ 6892{
6893 return CALLN (Frun_hook_with_args_until_success, Qinterrupt_process_functions, 6893 return CALLN (Frun_hook_with_args_until_success, Qinterrupt_process_functions,
@@ -8514,7 +8514,7 @@ thus favoring processes with lower descriptors. */);
8514 doc: /* List of functions to be called for `interrupt-process'. 8514 doc: /* List of functions to be called for `interrupt-process'.
8515The arguments of the functions are the same as for `interrupt-process'. 8515The arguments of the functions are the same as for `interrupt-process'.
8516These functions are called in the order of the list, until one of them 8516These functions are called in the order of the list, until one of them
8517returns non-`nil'. */); 8517returns non-nil. */);
8518 Vinterrupt_process_functions = list1 (Qinternal_default_interrupt_process); 8518 Vinterrupt_process_functions = list1 (Qinternal_default_interrupt_process);
8519 8519
8520 DEFVAR_LISP ("internal--daemon-sockname", Vinternal__daemon_sockname, 8520 DEFVAR_LISP ("internal--daemon-sockname", Vinternal__daemon_sockname,
diff --git a/src/xfaces.c b/src/xfaces.c
index c5b7a568aeb..5e63e87d751 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -2420,11 +2420,11 @@ evaluate_face_filter (Lisp_Object filter, struct window *w,
2420/* Determine whether FACE_REF is a "filter" face specification (case 2420/* Determine whether FACE_REF is a "filter" face specification (case
2421 #4 in merge_face_ref). If it is, evaluate the filter, and if the 2421 #4 in merge_face_ref). If it is, evaluate the filter, and if the
2422 filter matches, return the filtered face spec. If the filter does 2422 filter matches, return the filtered face spec. If the filter does
2423 not match, return `nil'. If FACE_REF is not a filtered face 2423 not match, return nil. If FACE_REF is not a filtered face
2424 specification, return FACE_REF. 2424 specification, return FACE_REF.
2425 2425
2426 On error, set *OK to false, having logged an error message if 2426 On error, set *OK to false, having logged an error message if
2427 ERR_MSGS is true, and return `nil'. Otherwise, *OK is not touched. 2427 ERR_MSGS is true, and return nil. Otherwise, *OK is not touched.
2428 2428
2429 W is either NULL or a window used to evaluate filters. If W is 2429 W is either NULL or a window used to evaluate filters. If W is
2430 NULL, no window-based face specification filter matches. 2430 NULL, no window-based face specification filter matches.