diff options
| author | Paul Eggert | 2016-06-26 00:16:25 +0200 |
|---|---|---|
| committer | Paul Eggert | 2016-06-26 00:16:25 +0200 |
| commit | fdcf46d33eebc59e56a35fcea186c61aad3c81d0 (patch) | |
| tree | 8db131d7f52ead80ee12e52c3236510f71b31b48 /doc/lispref | |
| parent | d6930356cabd3036e445cc6a2f668b1fd3e0cde4 (diff) | |
| parent | 0377fe2b819bb93ac7dc314c8dbd99304d8b98d0 (diff) | |
| download | emacs-fdcf46d33eebc59e56a35fcea186c61aad3c81d0.tar.gz emacs-fdcf46d33eebc59e56a35fcea186c61aad3c81d0.zip | |
Merge from origin/emacs-25
0377fe2 ; Spelling fixes
f253695 Update docs for `customize-mode'
4395aaa Fix documentation of 'assoc-string' and 'compare-strings'
ab0ebb9 ; Only load .elc file in tests.
a98aa02 Error on multibyte characters in HTTP request
ea512a7 * lisp/gnus/mm-decode.el (mm-convert-shr-links): Mask keys th...
8297331 ; Revert "Ensure undo-boundary after insert-file-contents."
dc5e65b Unset GIT_DIR when calling Git commands
6cdd8f7 Ensure undo-boundary after insert-file-contents.
4793f5f Clarify documentation of 'line-spacing' and 'line-height'
5f37572 Fix removal of variables from process-environment
e5e886d * admin/authors.el (authors-ignored-files, authors-valid-file...
db0777b * admin/authors.el (authors-aliases, authors-fixed-case): Add...
# Conflicts:
# doc/lispref/modes.texi
# lisp/gnus/mm-decode.el
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/display.texi | 17 | ||||
| -rw-r--r-- | doc/lispref/modes.texi | 7 | ||||
| -rw-r--r-- | doc/lispref/strings.texi | 5 |
3 files changed, 16 insertions, 13 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 1956ee5503e..a7c1d0992de 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -1996,15 +1996,17 @@ newline. | |||
| 1996 | 1996 | ||
| 1997 | If the property value is @code{t}, the newline character has no | 1997 | If the property value is @code{t}, the newline character has no |
| 1998 | effect on the displayed height of the line---the visible contents | 1998 | effect on the displayed height of the line---the visible contents |
| 1999 | alone determine the height. This is useful for tiling small images | 1999 | alone determine the height. The @code{line-spacing} property, |
| 2000 | (or image slices) without adding blank areas between the images. | 2000 | described below, is also ignored in this case. This is useful for |
| 2001 | tiling small images (or image slices) without adding blank areas | ||
| 2002 | between the images. | ||
| 2001 | 2003 | ||
| 2002 | If the property value is a list of the form @code{(@var{height} | 2004 | If the property value is a list of the form @code{(@var{height} |
| 2003 | @var{total})}, that adds extra space @emph{below} the display line. | 2005 | @var{total})}, that adds extra space @emph{below} the display line. |
| 2004 | First Emacs uses @var{height} as a height spec to control extra space | 2006 | First Emacs uses @var{height} as a height spec to control extra space |
| 2005 | @emph{above} the line; then it adds enough space @emph{below} the line | 2007 | @emph{above} the line; then it adds enough space @emph{below} the line |
| 2006 | to bring the total line height up to @var{total}. In this case, the | 2008 | to bring the total line height up to @var{total}. In this case, any |
| 2007 | other ways to specify the line spacing are ignored. | 2009 | value of @code{line-spacing} property for the newline is ignored. |
| 2008 | 2010 | ||
| 2009 | @cindex height spec | 2011 | @cindex height spec |
| 2010 | Any other kind of property value is a height spec, which translates | 2012 | Any other kind of property value is a height spec, which translates |
| @@ -2054,9 +2056,10 @@ overrides line spacings specified for the frame. | |||
| 2054 | 2056 | ||
| 2055 | @kindex line-spacing @r{(text property)} | 2057 | @kindex line-spacing @r{(text property)} |
| 2056 | Finally, a newline can have a @code{line-spacing} text or overlay | 2058 | Finally, a newline can have a @code{line-spacing} text or overlay |
| 2057 | property that overrides the default frame line spacing and the buffer | 2059 | property that can enlarge the default frame line spacing and the |
| 2058 | local @code{line-spacing} variable, for the display line ending in | 2060 | buffer local @code{line-spacing} variable: if its value is larger than |
| 2059 | that newline. | 2061 | the buffer or frame defaults, that larger value is used instead, for |
| 2062 | the display line ending in that newline. | ||
| 2060 | 2063 | ||
| 2061 | One way or another, these mechanisms specify a Lisp value for the | 2064 | One way or another, these mechanisms specify a Lisp value for the |
| 2062 | spacing of each line. The value is a height spec, and it translates | 2065 | spacing of each line. The value is a height spec, and it translates |
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 1285c1c69e6..368d882a4b8 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -799,10 +799,9 @@ if @var{parent} is @code{nil}. (Again, a @code{nil} value is | |||
| 799 | 799 | ||
| 800 | @item :group | 800 | @item :group |
| 801 | If this is specified, the value should be the customization group for | 801 | If this is specified, the value should be the customization group for |
| 802 | this mode. (Not all major modes have one.) Only the (still | 802 | this mode. (Not all major modes have one.) The command |
| 803 | experimental and unadvertised) command @code{customize-mode} currently | 803 | @code{customize-mode} uses this. @code{define-derived-mode} does |
| 804 | uses this. @code{define-derived-mode} does @emph{not} automatically | 804 | @emph{not} automatically define the specified customization group. |
| 805 | define the specified customization group. | ||
| 806 | 805 | ||
| 807 | @item :after-hook | 806 | @item :after-hook |
| 808 | This optional keyword specifies a single Lisp form to evaluate as the | 807 | This optional keyword specifies a single Lisp form to evaluate as the |
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index fc356af51ba..4e4c239291e 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -668,7 +668,7 @@ The strings are compared by the numeric values of their characters. | |||
| 668 | For instance, @var{str1} is considered less than @var{str2} if | 668 | For instance, @var{str1} is considered less than @var{str2} if |
| 669 | its first differing character has a smaller numeric value. If | 669 | its first differing character has a smaller numeric value. If |
| 670 | @var{ignore-case} is non-@code{nil}, characters are converted to | 670 | @var{ignore-case} is non-@code{nil}, characters are converted to |
| 671 | lower-case before comparing them. Unibyte strings are converted to | 671 | upper-case before comparing them. Unibyte strings are converted to |
| 672 | multibyte for comparison (@pxref{Text Representations}), so that a | 672 | multibyte for comparison (@pxref{Text Representations}), so that a |
| 673 | unibyte string and its conversion to multibyte are always regarded as | 673 | unibyte string and its conversion to multibyte are always regarded as |
| 674 | equal. | 674 | equal. |
| @@ -685,7 +685,8 @@ specified portion) is less. | |||
| 685 | This function works like @code{assoc}, except that @var{key} must be a | 685 | This function works like @code{assoc}, except that @var{key} must be a |
| 686 | string or symbol, and comparison is done using @code{compare-strings}. | 686 | string or symbol, and comparison is done using @code{compare-strings}. |
| 687 | Symbols are converted to strings before testing. | 687 | Symbols are converted to strings before testing. |
| 688 | If @var{case-fold} is non-@code{nil}, it ignores case differences. | 688 | If @var{case-fold} is non-@code{nil}, @var{key} and the elements of |
| 689 | @var{alist} are converted to upper-case before comparison. | ||
| 689 | Unlike @code{assoc}, this function can also match elements of the alist | 690 | Unlike @code{assoc}, this function can also match elements of the alist |
| 690 | that are strings or symbols rather than conses. In particular, @var{alist} can | 691 | that are strings or symbols rather than conses. In particular, @var{alist} can |
| 691 | be a list of strings or symbols rather than an actual alist. | 692 | be a list of strings or symbols rather than an actual alist. |