diff options
| author | Paul Eggert | 2017-03-19 12:34:04 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-03-19 12:34:04 -0700 |
| commit | da17b70a997d3b1c38d9f3d7d8ab6c7dab273765 (patch) | |
| tree | 28c6e45159f45912c6bd3d17de7bf71e85272bfe /doc | |
| parent | 640335361ccc36945836b5e7de0dbbf984b332e8 (diff) | |
| parent | a09473261c8b11243e68d84c5dc2448d65a67e77 (diff) | |
| download | emacs-da17b70a997d3b1c38d9f3d7d8ab6c7dab273765.tar.gz emacs-da17b70a997d3b1c38d9f3d7d8ab6c7dab273765.zip | |
Merge from origin/emacs-25
a094732 * etc/PROBLEMS: Say that HP-UX cc doesn't work.
1925dd9 Fix duplicate wording in Emacs manual
6de8429 * lisp/paren.el (show-paren--default, show-paren-function): A...
2d671fd Fix wording in Emacs manual
a8766a2 Document how to customize input methods
6eb8995 * lisp/net/eww.el (eww-reload): Doc fix. (Bug#25981)
aceac95 Fix warning message about native completion (Bug#25984)
a314c1f Clarify documentation of 'raise' and 'height' display specs
f366f6e Mention problems with GPaste in PROBLEMS
6e788ef ; etc/PROBLEMS: Explain about the python+libedit problem (Bug...
6406618 Fix doc strings in info.el
c1ed152 ; * src/keyboard.c (Fposn_at_point): Fix last change.
eed9677 Fix doc string of 'posn-at-point'
0d5957e Documentation fix in elisp reference manual
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/mule.texi | 9 | ||||
| -rw-r--r-- | doc/emacs/programs.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/text.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 25 | ||||
| -rw-r--r-- | doc/lispref/macros.texi | 4 |
5 files changed, 26 insertions, 16 deletions
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi index 76bc945fb27..13407f6f07b 100644 --- a/doc/emacs/mule.texi +++ b/doc/emacs/mule.texi | |||
| @@ -553,6 +553,15 @@ most input methods---some disable this feature). If | |||
| 553 | possible characters to type next is displayed in the echo area (but | 553 | possible characters to type next is displayed in the echo area (but |
| 554 | not when you are in the minibuffer). | 554 | not when you are in the minibuffer). |
| 555 | 555 | ||
| 556 | @vindex quail-activate-hook | ||
| 557 | @findex quail-translation-keymap | ||
| 558 | You can modify how an input method works by making your changes in a | ||
| 559 | function that you add to the hook variable @code{quail-activate-hook}. | ||
| 560 | @xref{Hooks}. For example, you can redefine some of the input | ||
| 561 | method's keys by defining key bindings in the keymap returned by the | ||
| 562 | function @code{quail-translation-keymap}, using @code{define-key}. | ||
| 563 | @xref{Init Rebinding}. | ||
| 564 | |||
| 556 | Another facility for typing characters not on your keyboard is by | 565 | Another facility for typing characters not on your keyboard is by |
| 557 | using @kbd{C-x 8 @key{RET}} (@code{insert-char}) to insert a single | 566 | using @kbd{C-x 8 @key{RET}} (@code{insert-char}) to insert a single |
| 558 | character based on its Unicode name or code-point; see @ref{Inserting | 567 | character based on its Unicode name or code-point; see @ref{Inserting |
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index 97751aa2fac..1533c7ee8bb 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi | |||
| @@ -327,7 +327,7 @@ as you move around in a buffer. | |||
| 327 | @vindex which-func-modes | 327 | @vindex which-func-modes |
| 328 | To either enable or disable Which Function mode, use the command | 328 | To either enable or disable Which Function mode, use the command |
| 329 | @kbd{M-x which-function-mode}. Which Function mode is a global minor | 329 | @kbd{M-x which-function-mode}. Which Function mode is a global minor |
| 330 | mode. By default, it takes effect in all major modes major modes that | 330 | mode. By default, it takes effect in all major modes that |
| 331 | know how to support it (i.e., all the major modes that support | 331 | know how to support it (i.e., all the major modes that support |
| 332 | Imenu). You can restrict it to a specific list of major modes by | 332 | Imenu). You can restrict it to a specific list of major modes by |
| 333 | changing the value of the variable @code{which-func-modes} from | 333 | changing the value of the variable @code{which-func-modes} from |
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index 3c46049b225..5f02d0b6920 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi | |||
| @@ -296,7 +296,7 @@ mark by one paragraph. | |||
| 296 | 296 | ||
| 297 | The definition of a paragraph depends on the major mode. In | 297 | The definition of a paragraph depends on the major mode. In |
| 298 | Fundamental mode, as well as Text mode and related modes, a paragraph | 298 | Fundamental mode, as well as Text mode and related modes, a paragraph |
| 299 | is separated each neighboring paragraph another by one or more | 299 | is separated from neighboring paragraphs by one or more |
| 300 | @dfn{blank lines}---lines that are either empty, or consist solely of | 300 | @dfn{blank lines}---lines that are either empty, or consist solely of |
| 301 | space, tab and/or formfeed characters. In programming language modes, | 301 | space, tab and/or formfeed characters. In programming language modes, |
| 302 | paragraphs are usually defined in a similar way, so that you can use | 302 | paragraphs are usually defined in a similar way, so that you can use |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index aa10c1f07f4..57dd16decaf 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -4666,16 +4666,21 @@ a form. Emacs evaluates it to get the new height, with the symbol | |||
| 4666 | 4666 | ||
| 4667 | @item (raise @var{factor}) | 4667 | @item (raise @var{factor}) |
| 4668 | This kind of display specification raises or lowers the text | 4668 | This kind of display specification raises or lowers the text |
| 4669 | it applies to, relative to the baseline of the line. | 4669 | it applies to, relative to the baseline of the line. It is mainly |
| 4670 | 4670 | meant to support display of subscripts and superscripts. | |
| 4671 | @var{factor} must be a number, which is interpreted as a multiple of the | 4671 | |
| 4672 | height of the affected text. If it is positive, that means to display | 4672 | The @var{factor} must be a number, which is interpreted as a multiple |
| 4673 | the characters raised. If it is negative, that means to display them | 4673 | of the height of the affected text. If it is positive, that means to |
| 4674 | lower down. | 4674 | display the characters raised. If it is negative, that means to |
| 4675 | 4675 | display them lower down. | |
| 4676 | If the text also has a @code{height} display specification, that does | 4676 | |
| 4677 | not affect the amount of raising or lowering, which is based on the | 4677 | Note that if the text also has a @code{height} display specification, |
| 4678 | faces used for the text. | 4678 | which was specified before (i.e.@: to the left of) @code{raise}, the |
| 4679 | latter will affect the amount of raising or lowering in pixels, | ||
| 4680 | because that is based on the height of the text being raised. | ||
| 4681 | Therefore, if you want to display a sub- or superscript that is | ||
| 4682 | smaller than the normal text height, consider specifying @code{raise} | ||
| 4683 | before @code{height}. | ||
| 4679 | @end table | 4684 | @end table |
| 4680 | 4685 | ||
| 4681 | @c We put all the '@code{(when ...)}' on one line to encourage | 4686 | @c We put all the '@code{(when ...)}' on one line to encourage |
diff --git a/doc/lispref/macros.texi b/doc/lispref/macros.texi index 5638dfaecf8..63a65a81304 100644 --- a/doc/lispref/macros.texi +++ b/doc/lispref/macros.texi | |||
| @@ -255,10 +255,6 @@ of constants and nonconstant parts. To make this easier, use the | |||
| 255 | @end example | 255 | @end example |
| 256 | @end example | 256 | @end example |
| 257 | 257 | ||
| 258 | The body of a macro definition can include a @code{declare} form, | ||
| 259 | which specifies additional properties about the macro. @xref{Declare | ||
| 260 | Form}. | ||
| 261 | |||
| 262 | @node Problems with Macros | 258 | @node Problems with Macros |
| 263 | @section Common Problems Using Macros | 259 | @section Common Problems Using Macros |
| 264 | @cindex macro caveats | 260 | @cindex macro caveats |