diff options
| author | Glenn Morris | 2020-04-11 07:50:12 -0700 |
|---|---|---|
| committer | Glenn Morris | 2020-04-11 07:50:12 -0700 |
| commit | 1988ffbaed709dfc71126efbf06644476830f07e (patch) | |
| tree | fdc98855a3ab7bf6d6cb4c8826ec4a9dfc603d33 /doc/lispref | |
| parent | b902d7c9d07b2cc951fa5c789d585d65366d19d2 (diff) | |
| parent | fd27685c1e68e742abf1698573dac53743f15e48 (diff) | |
| download | emacs-1988ffbaed709dfc71126efbf06644476830f07e.tar.gz emacs-1988ffbaed709dfc71126efbf06644476830f07e.zip | |
Merge from origin/emacs-27
fd27685c1e (origin/emacs-27) ; * doc/lispref/keymaps.texi (Extended M...
6057d79a4e * doc/lispref/keymaps.texi (Extended Menu Items): Tweak :k...
17a1bb5a03 Fix redisplay when scrolling under redisplay-dont-pause
90321f595c Fix face extension in pulse.el
36c42d2a30 * doc/misc/tramp.texi (Bug Reports): Avoid line breaks in ...
d5750af151 Avoid assertion violation in intervals.c
18d1bc0a09 Improve documentation of 'jit-lock-contextually'
08486f4cae Speed up 'resize-mode' child frames a little
f451ef9308 ; * etc/NEWS: Mention 'executing-macro' in removed vars.
c49d379f17 Fix some problems with moving and resizing child frames
# Conflicts:
# etc/NEWS
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/keymaps.texi | 20 | ||||
| -rw-r--r-- | doc/lispref/modes.texi | 11 |
2 files changed, 16 insertions, 15 deletions
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi index 4d513132e9f..2c90d208c02 100644 --- a/doc/lispref/keymaps.texi +++ b/doc/lispref/keymaps.texi | |||
| @@ -2227,22 +2227,14 @@ set the variable so that the button you clicked on becomes selected. | |||
| 2227 | 2227 | ||
| 2228 | @item :key-sequence @var{key-sequence} | 2228 | @item :key-sequence @var{key-sequence} |
| 2229 | This property specifies which key sequence is likely to be bound to the | 2229 | This property specifies which key sequence is likely to be bound to the |
| 2230 | same command invoked by this menu item. If you specify the right key | 2230 | same command invoked by this menu item. If you specify a correct key |
| 2231 | sequence, that makes preparing the menu for display run much faster. | 2231 | sequence, that sequence will be preferred over others. |
| 2232 | 2232 | ||
| 2233 | If you specify the wrong key sequence, it has no effect; before Emacs | 2233 | If you specify an incorrect key sequence, it has no effect; before Emacs |
| 2234 | displays @var{key-sequence} in the menu, it verifies that | 2234 | displays @var{key-sequence} in the menu, it verifies that |
| 2235 | @var{key-sequence} is really equivalent to this menu item. | 2235 | @var{key-sequence} is really equivalent to this menu item. Specifying |
| 2236 | 2236 | @code{nil} for @var{key-sequence} is equivalent to the | |
| 2237 | @item :key-sequence nil | 2237 | @code{:key-sequence} attribute being absent. |
| 2238 | This property indicates that there is normally no key binding which is | ||
| 2239 | equivalent to this menu item. Using this property saves time in | ||
| 2240 | preparing the menu for display, because Emacs does not need to search | ||
| 2241 | the keymaps for a keyboard equivalent for this menu item. | ||
| 2242 | |||
| 2243 | However, if the user has rebound this item's definition to a key | ||
| 2244 | sequence, Emacs ignores the @code{:keys} property and finds the keyboard | ||
| 2245 | equivalent anyway. | ||
| 2246 | 2238 | ||
| 2247 | @item :keys @var{string} | 2239 | @item :keys @var{string} |
| 2248 | This property specifies that @var{string} is the string to display | 2240 | This property specifies that @var{string} is the string to display |
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index f8cf4578fc2..fc68ee1b322 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -3215,6 +3215,11 @@ The optional argument @var{contextual}, if non-@code{nil}, forces Font | |||
| 3215 | Lock mode to always refontify a syntactically relevant part of the | 3215 | Lock mode to always refontify a syntactically relevant part of the |
| 3216 | buffer, and not just the modified lines. This argument can usually be | 3216 | buffer, and not just the modified lines. This argument can usually be |
| 3217 | omitted. | 3217 | omitted. |
| 3218 | |||
| 3219 | When Font Lock is activated in a buffer, it calls this function with a | ||
| 3220 | non-@code{nil} value of @var{contextual} if the value of | ||
| 3221 | @code{font-lock-keywords-only} (@pxref{Syntactic Font Lock}) is | ||
| 3222 | @code{nil}. | ||
| 3218 | @end defun | 3223 | @end defun |
| 3219 | 3224 | ||
| 3220 | @defun jit-lock-unregister function | 3225 | @defun jit-lock-unregister function |
| @@ -3381,7 +3386,11 @@ table in special cases. @xref{Syntax Properties}. | |||
| 3381 | If the value of this variable is non-@code{nil}, Font Lock does not do | 3386 | If the value of this variable is non-@code{nil}, Font Lock does not do |
| 3382 | syntactic fontification, only search-based fontification based on | 3387 | syntactic fontification, only search-based fontification based on |
| 3383 | @code{font-lock-keywords}. It is normally set by Font Lock mode based | 3388 | @code{font-lock-keywords}. It is normally set by Font Lock mode based |
| 3384 | on the @var{keywords-only} element in @code{font-lock-defaults}. | 3389 | on the @var{keywords-only} element in @code{font-lock-defaults}. If |
| 3390 | the value is @code{nil}, Font Lock will call @code{jit-lock-register} | ||
| 3391 | (@pxref{Other Font Lock Variables}) to set up for automatic | ||
| 3392 | refontification of buffer text following a modified line to reflect | ||
| 3393 | the new syntactic context due to the change. | ||
| 3385 | @end defvar | 3394 | @end defvar |
| 3386 | 3395 | ||
| 3387 | @defvar font-lock-syntax-table | 3396 | @defvar font-lock-syntax-table |