aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2015-05-21 10:04:45 -0700
committerPaul Eggert2015-05-21 10:06:44 -0700
commit96794d2f97cd064e4c2bf4f71459b42558cc8c79 (patch)
treeae2d3836af726636586f4ed21dbdfcb079715777 /src
parentfc071bf7c6a300f52142b92cf99c5a0e63b3e235 (diff)
downloademacs-96794d2f97cd064e4c2bf4f71459b42558cc8c79.tar.gz
emacs-96794d2f97cd064e4c2bf4f71459b42558cc8c79.zip
Don't quote nil and t in doc strings
This is as per "Tips for Documentation Strings" in the elisp manual. For consistency, do the same in diagnostics and comments.
Diffstat (limited to 'src')
-rw-r--r--src/buffer.c2
-rw-r--r--src/font.c4
-rw-r--r--src/frame.c6
-rw-r--r--src/gnutls.c2
-rw-r--r--src/keymap.c4
-rw-r--r--src/nsfns.m6
-rw-r--r--src/w32fns.c4
-rw-r--r--src/xfns.c4
8 files changed, 16 insertions, 16 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 148d077ec21..c78d08c53d2 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -6106,7 +6106,7 @@ An entry of the form POSITION indicates that point was at the buffer
6106location given by the integer. Undoing an entry of this form places 6106location given by the integer. Undoing an entry of this form places
6107point at POSITION. 6107point at POSITION.
6108 6108
6109Entries with value `nil' mark undo boundaries. The undo command treats 6109Entries with value nil mark undo boundaries. The undo command treats
6110the changes between two undo boundaries as a single step to be undone. 6110the changes between two undo boundaries as a single step to be undone.
6111 6111
6112If the value of the variable is t, undo information is not recorded. */); 6112If the value of the variable is t, undo information is not recorded. */);
diff --git a/src/font.c b/src/font.c
index 355353a4f4a..2ade45fd73a 100644
--- a/src/font.c
+++ b/src/font.c
@@ -3866,7 +3866,7 @@ required OpenType features.
3866 GSUB: List of OpenType GSUB feature tag symbols, or nil if none required. 3866 GSUB: List of OpenType GSUB feature tag symbols, or nil if none required.
3867 GPOS: List of OpenType GPOS feature tag symbols, or nil if none required. 3867 GPOS: List of OpenType GPOS feature tag symbols, or nil if none required.
3868 3868
3869GSUB and GPOS may contain `nil' element. In such a case, the font 3869GSUB and GPOS may contain nil elements. In such a case, the font
3870must not have any of the remaining elements. 3870must not have any of the remaining elements.
3871 3871
3872For instance, if the VALUE is `(thai nil nil (mark))', the font must 3872For instance, if the VALUE is `(thai nil nil (mark))', the font must
@@ -5011,7 +5011,7 @@ build_style_table (const struct table_entry *entry, int nelement)
5011static Lisp_Object Vfont_log_deferred; 5011static Lisp_Object Vfont_log_deferred;
5012 5012
5013/* Prepend the font-related logging data in Vfont_log if it is not 5013/* Prepend the font-related logging data in Vfont_log if it is not
5014 `t'. ACTION describes a kind of font-related action (e.g. listing, 5014 t. ACTION describes a kind of font-related action (e.g. listing,
5015 opening), ARG is the argument for the action, and RESULT is the 5015 opening), ARG is the argument for the action, and RESULT is the
5016 result of the action. */ 5016 result of the action. */
5017void 5017void
diff --git a/src/frame.c b/src/frame.c
index edf656694b7..478bb00337b 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -5152,7 +5152,7 @@ a non-nil value in your init file. */);
5152If this option is nil, setting font, menu bar, tool bar, internal 5152If this option is nil, setting font, menu bar, tool bar, internal
5153borders, fringes or scroll bars of a specific frame may resize the frame 5153borders, fringes or scroll bars of a specific frame may resize the frame
5154in order to preserve the number of columns or lines it displays. If 5154in order to preserve the number of columns or lines it displays. If
5155this option is `t', no such resizing is done. Note that the size of 5155this option is t, no such resizing is done. Note that the size of
5156fullscreen and maximized frames, the height of fullheight frames and the 5156fullscreen and maximized frames, the height of fullheight frames and the
5157width of fullwidth frames never change implicitly. 5157width of fullwidth frames never change implicitly.
5158 5158
@@ -5168,14 +5168,14 @@ Changing any of the parameters `scroll-bar-width', `scroll-bar-height',
5168window. This means, for example, that removing vertical scroll bars on 5168window. This means, for example, that removing vertical scroll bars on
5169a frame containing several side by side windows will shrink the frame 5169a frame containing several side by side windows will shrink the frame
5170width by the width of one scroll bar provided this option is nil and 5170width by the width of one scroll bar provided this option is nil and
5171keep it unchanged if this option is either `t' or a list containing 5171keep it unchanged if this option is either t or a list containing
5172`vertical-scroll-bars'. 5172`vertical-scroll-bars'.
5173 5173
5174The default value is '(tool-bar-lines) on Lucid, Motif and Windows 5174The default value is '(tool-bar-lines) on Lucid, Motif and Windows
5175\(which means that adding/removing a tool bar does not change the frame 5175\(which means that adding/removing a tool bar does not change the frame
5176height), nil on all other window systems including GTK+ (which means 5176height), nil on all other window systems including GTK+ (which means
5177that changing any of the parameters listed above may change the size of 5177that changing any of the parameters listed above may change the size of
5178the frame), and `t' otherwise (which means the frame size never changes 5178the frame), and t otherwise (which means the frame size never changes
5179implicitly when there's no window system support). 5179implicitly when there's no window system support).
5180 5180
5181Note that when a frame is not large enough to accommodate a change of 5181Note that when a frame is not large enough to accommodate a change of
diff --git a/src/gnutls.c b/src/gnutls.c
index 9b8ae2bd1a8..9c2d86ecdfc 100644
--- a/src/gnutls.c
+++ b/src/gnutls.c
@@ -1181,7 +1181,7 @@ gnutls_certificate_set_verify_flags.
1181instead. 1181instead.
1182 1182
1183:verify-error is a list of symbols to express verification checks or 1183:verify-error is a list of symbols to express verification checks or
1184`t' to do all checks. Currently it can contain `:trustfiles' and 1184t to do all checks. Currently it can contain `:trustfiles' and
1185`:hostname' to verify the certificate or the hostname respectively. 1185`:hostname' to verify the certificate or the hostname respectively.
1186 1186
1187:min-prime-bits is the minimum accepted number of bits the client will 1187:min-prime-bits is the minimum accepted number of bits the client will
diff --git a/src/keymap.c b/src/keymap.c
index d10c00489d1..e9898051dc7 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -498,7 +498,7 @@ access_keymap_1 (Lisp_Object map, Lisp_Object idx,
498 if (INTEGERP (idx) && (XFASTINT (idx) & CHAR_MODIFIER_MASK) == 0) 498 if (INTEGERP (idx) && (XFASTINT (idx) & CHAR_MODIFIER_MASK) == 0)
499 { 499 {
500 val = Faref (binding, idx); 500 val = Faref (binding, idx);
501 /* `nil' has a special meaning for char-tables, so 501 /* nil has a special meaning for char-tables, so
502 we use something else to record an explicitly 502 we use something else to record an explicitly
503 unbound entry. */ 503 unbound entry. */
504 if (NILP (val)) 504 if (NILP (val))
@@ -849,7 +849,7 @@ store_in_keymap (Lisp_Object keymap, register Lisp_Object idx, Lisp_Object def)
849 if (NATNUMP (idx) && !(XFASTINT (idx) & CHAR_MODIFIER_MASK)) 849 if (NATNUMP (idx) && !(XFASTINT (idx) & CHAR_MODIFIER_MASK))
850 { 850 {
851 Faset (elt, idx, 851 Faset (elt, idx,
852 /* `nil' has a special meaning for char-tables, so 852 /* nil has a special meaning for char-tables, so
853 we use something else to record an explicitly 853 we use something else to record an explicitly
854 unbound entry. */ 854 unbound entry. */
855 NILP (def) ? Qt : def); 855 NILP (def) ? Qt : def);
diff --git a/src/nsfns.m b/src/nsfns.m
index 8a3c6ccf2b0..6a2e2ff14a4 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -749,7 +749,7 @@ ns_implicitly_set_icon_type (struct frame *f)
749 chain = XCDR (chain)) 749 chain = XCDR (chain))
750 { 750 {
751 elt = XCAR (chain); 751 elt = XCAR (chain);
752 /* special case: 't' means go by file type */ 752 /* special case: t means go by file type */
753 if (SYMBOLP (elt) && EQ (elt, Qt) && SSDATA (f->name)[0] == '/') 753 if (SYMBOLP (elt) && EQ (elt, Qt) && SSDATA (f->name)[0] == '/')
754 { 754 {
755 NSString *str 755 NSString *str
@@ -2836,13 +2836,13 @@ elements (all size values are in pixels).
2836 2836
2837- `title-bar-height' is the height of the title bar of FRAME. 2837- `title-bar-height' is the height of the title bar of FRAME.
2838 2838
2839- `menu-bar-external' if `t' means the menu bar is external (not 2839- `menu-bar-external' if t means the menu bar is external (not
2840 included in the inner edges of FRAME). 2840 included in the inner edges of FRAME).
2841 2841
2842- `menu-bar-size' is a cons of the width and height of the menu bar of 2842- `menu-bar-size' is a cons of the width and height of the menu bar of
2843 FRAME. 2843 FRAME.
2844 2844
2845- `tool-bar-external' if `t' means the tool bar is external (not 2845- `tool-bar-external' if t means the tool bar is external (not
2846 included in the inner edges of FRAME). 2846 included in the inner edges of FRAME).
2847 2847
2848- `tool-bar-side' tells tells on which side the tool bar on FRAME is and 2848- `tool-bar-side' tells tells on which side the tool bar on FRAME is and
diff --git a/src/w32fns.c b/src/w32fns.c
index b9d7bd4d75b..3a6fa624056 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -7535,13 +7535,13 @@ elements (all size values are in pixels).
7535 7535
7536- `title-bar-height' is the height of the title bar of FRAME. 7536- `title-bar-height' is the height of the title bar of FRAME.
7537 7537
7538- `menu-bar-external' if `t' means the menu bar is by default external 7538- `menu-bar-external' if t means the menu bar is by default external
7539 (not included in the inner size of FRAME). 7539 (not included in the inner size of FRAME).
7540 7540
7541- `menu-bar-size' is a cons of the width and height of the menu bar of 7541- `menu-bar-size' is a cons of the width and height of the menu bar of
7542 FRAME. 7542 FRAME.
7543 7543
7544- `tool-bar-external' if `t' means the tool bar is by default external 7544- `tool-bar-external' if t means the tool bar is by default external
7545 (not included in the inner size of FRAME). 7545 (not included in the inner size of FRAME).
7546 7546
7547- `tool-bar-side' tells tells on which side the tool bar on FRAME is by 7547- `tool-bar-side' tells tells on which side the tool bar on FRAME is by
diff --git a/src/xfns.c b/src/xfns.c
index bd1db1013d0..03ef8136ae2 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -4316,13 +4316,13 @@ elements (all size values are in pixels).
4316 4316
4317- `title-bar-height' is the height of the title bar of FRAME. 4317- `title-bar-height' is the height of the title bar of FRAME.
4318 4318
4319- `menu-bar-external' if `t' means the menu bar is external (not 4319- `menu-bar-external' if t means the menu bar is external (not
4320 included in the inner edges of FRAME). 4320 included in the inner edges of FRAME).
4321 4321
4322- `menu-bar-size' is a cons of the width and height of the menu bar of 4322- `menu-bar-size' is a cons of the width and height of the menu bar of
4323 FRAME. 4323 FRAME.
4324 4324
4325- `tool-bar-external' if `t' means the tool bar is external (not 4325- `tool-bar-external' if t means the tool bar is external (not
4326 included in the inner edges of FRAME). 4326 included in the inner edges of FRAME).
4327 4327
4328- `tool-bar-side' tells tells on which side the tool bar on FRAME is and 4328- `tool-bar-side' tells tells on which side the tool bar on FRAME is and