diff options
| author | Paul Eggert | 2015-05-21 10:04:45 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-05-21 10:06:44 -0700 |
| commit | 96794d2f97cd064e4c2bf4f71459b42558cc8c79 (patch) | |
| tree | ae2d3836af726636586f4ed21dbdfcb079715777 /src | |
| parent | fc071bf7c6a300f52142b92cf99c5a0e63b3e235 (diff) | |
| download | emacs-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.c | 2 | ||||
| -rw-r--r-- | src/font.c | 4 | ||||
| -rw-r--r-- | src/frame.c | 6 | ||||
| -rw-r--r-- | src/gnutls.c | 2 | ||||
| -rw-r--r-- | src/keymap.c | 4 | ||||
| -rw-r--r-- | src/nsfns.m | 6 | ||||
| -rw-r--r-- | src/w32fns.c | 4 | ||||
| -rw-r--r-- | src/xfns.c | 4 |
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 | |||
| 6106 | location given by the integer. Undoing an entry of this form places | 6106 | location given by the integer. Undoing an entry of this form places |
| 6107 | point at POSITION. | 6107 | point at POSITION. |
| 6108 | 6108 | ||
| 6109 | Entries with value `nil' mark undo boundaries. The undo command treats | 6109 | Entries with value nil mark undo boundaries. The undo command treats |
| 6110 | the changes between two undo boundaries as a single step to be undone. | 6110 | the changes between two undo boundaries as a single step to be undone. |
| 6111 | 6111 | ||
| 6112 | If the value of the variable is t, undo information is not recorded. */); | 6112 | If 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 | ||
| 3869 | GSUB and GPOS may contain `nil' element. In such a case, the font | 3869 | GSUB and GPOS may contain nil elements. In such a case, the font |
| 3870 | must not have any of the remaining elements. | 3870 | must not have any of the remaining elements. |
| 3871 | 3871 | ||
| 3872 | For instance, if the VALUE is `(thai nil nil (mark))', the font must | 3872 | For 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) | |||
| 5011 | static Lisp_Object Vfont_log_deferred; | 5011 | static 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. */ |
| 5017 | void | 5017 | void |
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. */); | |||
| 5152 | If this option is nil, setting font, menu bar, tool bar, internal | 5152 | If this option is nil, setting font, menu bar, tool bar, internal |
| 5153 | borders, fringes or scroll bars of a specific frame may resize the frame | 5153 | borders, fringes or scroll bars of a specific frame may resize the frame |
| 5154 | in order to preserve the number of columns or lines it displays. If | 5154 | in order to preserve the number of columns or lines it displays. If |
| 5155 | this option is `t', no such resizing is done. Note that the size of | 5155 | this option is t, no such resizing is done. Note that the size of |
| 5156 | fullscreen and maximized frames, the height of fullheight frames and the | 5156 | fullscreen and maximized frames, the height of fullheight frames and the |
| 5157 | width of fullwidth frames never change implicitly. | 5157 | width of fullwidth frames never change implicitly. |
| 5158 | 5158 | ||
| @@ -5168,14 +5168,14 @@ Changing any of the parameters `scroll-bar-width', `scroll-bar-height', | |||
| 5168 | window. This means, for example, that removing vertical scroll bars on | 5168 | window. This means, for example, that removing vertical scroll bars on |
| 5169 | a frame containing several side by side windows will shrink the frame | 5169 | a frame containing several side by side windows will shrink the frame |
| 5170 | width by the width of one scroll bar provided this option is nil and | 5170 | width by the width of one scroll bar provided this option is nil and |
| 5171 | keep it unchanged if this option is either `t' or a list containing | 5171 | keep it unchanged if this option is either t or a list containing |
| 5172 | `vertical-scroll-bars'. | 5172 | `vertical-scroll-bars'. |
| 5173 | 5173 | ||
| 5174 | The default value is '(tool-bar-lines) on Lucid, Motif and Windows | 5174 | The 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 |
| 5176 | height), nil on all other window systems including GTK+ (which means | 5176 | height), nil on all other window systems including GTK+ (which means |
| 5177 | that changing any of the parameters listed above may change the size of | 5177 | that changing any of the parameters listed above may change the size of |
| 5178 | the frame), and `t' otherwise (which means the frame size never changes | 5178 | the frame), and t otherwise (which means the frame size never changes |
| 5179 | implicitly when there's no window system support). | 5179 | implicitly when there's no window system support). |
| 5180 | 5180 | ||
| 5181 | Note that when a frame is not large enough to accommodate a change of | 5181 | Note 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. | |||
| 1181 | instead. | 1181 | instead. |
| 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 | 1184 | t 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 |