diff options
| author | Miles Bader | 2008-06-05 02:42:55 +0000 |
|---|---|---|
| committer | Miles Bader | 2008-06-05 02:42:55 +0000 |
| commit | e40a85cd56dc9b8da225767a79fe66c7f686351c (patch) | |
| tree | 83bb60bc9dcf59a1e28ebfaa57c3de015ae85ed9 /doc | |
| parent | ed25242f87baeb6d74695da0103f87cb611b6f8c (diff) | |
| download | emacs-e40a85cd56dc9b8da225767a79fe66c7f686351c.tar.gz emacs-e40a85cd56dc9b8da225767a79fe66c7f686351c.zip | |
Rename functions in lisp/face-remap.el
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1208
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/display.texi | 31 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 28 |
4 files changed, 39 insertions, 30 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 41c3e3225bf..f0f08f607bc 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-06-05 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * display.texi (Temporary Face Changes): Update to reflect function | ||
| 4 | renamings in face-remap.el. | ||
| 5 | |||
| 1 | 2008-06-04 Miles Bader <miles@gnu.org> | 6 | 2008-06-04 Miles Bader <miles@gnu.org> |
| 2 | 7 | ||
| 3 | * display.texi (Temporary Face Changes): Add | 8 | * display.texi (Temporary Face Changes): Add |
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index 47650ec5601..cab75796692 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi | |||
| @@ -1179,7 +1179,7 @@ These are commands which temporarily change the default face used to | |||
| 1179 | display text in a buffer. | 1179 | display text in a buffer. |
| 1180 | 1180 | ||
| 1181 | @cindex adjust buffer face height | 1181 | @cindex adjust buffer face height |
| 1182 | @findex adjust-buffer-face-height | 1182 | @findex text-scale-adjust |
| 1183 | @kindex C-x C-+ | 1183 | @kindex C-x C-+ |
| 1184 | @kindex C-x C-- | 1184 | @kindex C-x C-- |
| 1185 | @kindex C-x C-= | 1185 | @kindex C-x C-= |
| @@ -1188,7 +1188,7 @@ To increase the height of the default face in the current buffer one | |||
| 1188 | step, type @kbd{C-x C-+} or @kbd{C-x C-=}. To decrease it one step, | 1188 | step, type @kbd{C-x C-+} or @kbd{C-x C-=}. To decrease it one step, |
| 1189 | type @kbd{C-x C--}. To restore the default (global) face height, type | 1189 | type @kbd{C-x C--}. To restore the default (global) face height, type |
| 1190 | @kbd{C-x C-0}. These keys are all bound to the same command, | 1190 | @kbd{C-x C-0}. These keys are all bound to the same command, |
| 1191 | @code{adjust-buffer-face-height}, which looks at the last key typed to | 1191 | @code{text-scale-adjust}, which looks at the last key typed to |
| 1192 | determine the adjustment to make. | 1192 | determine the adjustment to make. |
| 1193 | 1193 | ||
| 1194 | The final key of these commands may be repeated without the leading | 1194 | The final key of these commands may be repeated without the leading |
| @@ -1201,23 +1201,22 @@ decreases the height by the same amount). As a special case, an | |||
| 1201 | argument of 0 will remove any scaling currently active. | 1201 | argument of 0 will remove any scaling currently active. |
| 1202 | 1202 | ||
| 1203 | This command is a special-purpose wrapper around the | 1203 | This command is a special-purpose wrapper around the |
| 1204 | @code{increase-buffer-face-height} command which makes repetition | 1204 | @code{text-scale-increase} command which makes repetition convenient |
| 1205 | convenient even when it is bound in a non-top-level keymap. For | 1205 | even when it is bound in a non-top-level keymap. For binding in a |
| 1206 | binding in a top-level keymap, @code{increase-buffer-face-height} or | 1206 | top-level keymap, @code{text-scale-increase} or |
| 1207 | @code{decrease-default-face-height} may be more appropriate." | 1207 | @code{text-scale-decrease} may be more appropriate." |
| 1208 | 1208 | ||
| 1209 | @cindex increase buffer face height | 1209 | @cindex increase buffer face height |
| 1210 | @findex increase-buffer-face-height | 1210 | @findex text-scale-increase |
| 1211 | @cindex decrease buffer face height | 1211 | @cindex decrease buffer face height |
| 1212 | @findex decrease-buffer-face-height | 1212 | @findex text-scale-decrease |
| 1213 | The @code{increase-buffer-face-height} and | 1213 | The @code{text-scale-increase} and @code{text-scale-decrease} commands |
| 1214 | @code{decrease-buffer-face-height} commands increase or decrease the | 1214 | increase or decrease the height of the default face in the current |
| 1215 | height of the default face in the current buffer by one step. With a | 1215 | buffer by one step. With a numeric prefix argument, the size will be |
| 1216 | numeric prefix argument, the size will be increased/decreased by that | 1216 | increased/decreased by that many steps; each step scales the font |
| 1217 | many steps; each step scales the font height by the value of the | 1217 | height by the value of the variable @code{text-scale-mode-step}. If |
| 1218 | variable @code{text-scale-mode-step}. If repeated, this command has a | 1218 | repeated, this command has a cumulative effect. As a special case, a |
| 1219 | cumulative effect. As a special case, a prefix argument of 0 will | 1219 | prefix argument of 0 will remove any scaling currently active. |
| 1220 | remove any scaling currently active. | ||
| 1221 | 1220 | ||
| 1222 | @findex text-scale-mode | 1221 | @findex text-scale-mode |
| 1223 | These commands automatically enable or disable the | 1222 | These commands automatically enable or disable the |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 27ddee117a9..7a8a3875ea2 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-06-05 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * display.texi (Displaying Faces): Update to reflect function | ||
| 4 | renamings in face-remap.el. | ||
| 5 | |||
| 1 | 2008-06-05 Juanma Barranquero <lekktu@gmail.com> | 6 | 2008-06-05 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * display.texi (Fontsets): Fix typos. | 8 | * display.texi (Fontsets): Fix typos. |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 467113f6409..93b57549f7c 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -2439,8 +2439,8 @@ names or face attribute-value pairs. All face specs are merged | |||
| 2439 | together, with earlier values taking precedence. | 2439 | together, with earlier values taking precedence. |
| 2440 | 2440 | ||
| 2441 | The @var{relative_specs_}n values are ``relative specs'', and are | 2441 | The @var{relative_specs_}n values are ``relative specs'', and are |
| 2442 | added by @code{add-relative-face-remapping} (and removed by | 2442 | added by @code{face-remap-add-relative} (and removed by |
| 2443 | @code{remove-relative-face-remapping}. These are intended for face | 2443 | @code{face-remap-remove-relative}. These are intended for face |
| 2444 | modifications (such as increasing the size). Typical users of these | 2444 | modifications (such as increasing the size). Typical users of these |
| 2445 | relative specs would be minor modes. | 2445 | relative specs would be minor modes. |
| 2446 | 2446 | ||
| @@ -2448,37 +2448,37 @@ relative specs would be minor modes. | |||
| 2448 | face name, which causes the global definition of that face to be used. | 2448 | face name, which causes the global definition of that face to be used. |
| 2449 | 2449 | ||
| 2450 | A non-default value of @var{base_specs} may also be set using | 2450 | A non-default value of @var{base_specs} may also be set using |
| 2451 | @code{set-base-face-remapping}. Because this @emph{overwrites} the | 2451 | @code{face-remap-set-base}. Because this @emph{overwrites} the |
| 2452 | default base-spec value (which inherits the global face definition), | 2452 | default base-spec value (which inherits the global face definition), |
| 2453 | it is up to the caller of @code{set-base-face-remapping} to add such | 2453 | it is up to the caller of @code{face-remap-set-base} to add such |
| 2454 | inheritance if it is desired. A typical use of | 2454 | inheritance if it is desired. A typical use of |
| 2455 | @code{set-base-face-remapping} would be a major mode adding a face | 2455 | @code{face-remap-set-base} would be a major mode adding a face |
| 2456 | remappings, e.g., of the default face. | 2456 | remappings, e.g., of the default face. |
| 2457 | 2457 | ||
| 2458 | 2458 | ||
| 2459 | @defun add-relative-face-remapping face &rest specs | 2459 | @defun face-remap-add-relative face &rest specs |
| 2460 | This functions adds a face remapping entry of @var{face} to @var{specs} | 2460 | This functions adds a face remapping entry of @var{face} to @var{specs} |
| 2461 | in the current buffer. | 2461 | in the current buffer. |
| 2462 | 2462 | ||
| 2463 | It returns a ``cookie'' which can be used to later delete the remapping with | 2463 | It returns a ``cookie'' which can be used to later delete the remapping with |
| 2464 | @code{remove-relative-face-remapping}. | 2464 | @code{face-remap-remove-relative}. |
| 2465 | 2465 | ||
| 2466 | @var{specs} can be any value suitable for the @code{face} text | 2466 | @var{specs} can be any value suitable for the @code{face} text |
| 2467 | property, including a face name, a list of face names, or a | 2467 | property, including a face name, a list of face names, or a |
| 2468 | face-attribute property list. The attributes given by @var{specs} | 2468 | face-attribute property list. The attributes given by @var{specs} |
| 2469 | will be merged with any other currently active face remappings of | 2469 | will be merged with any other currently active face remappings of |
| 2470 | @var{face}, and with the global definition of @var{face} (by default; | 2470 | @var{face}, and with the global definition of @var{face} (by default; |
| 2471 | this may be changed using @code{set-base-face-remapping}), | 2471 | this may be changed using @code{face-remap-set-base}), with the most |
| 2472 | with the most recently added relative remapping taking precedence. | 2472 | recently added relative remapping taking precedence. |
| 2473 | @end defun | 2473 | @end defun |
| 2474 | 2474 | ||
| 2475 | @defun remove-relative-face-remapping cookie | 2475 | @defun face-remap-remove-relative cookie |
| 2476 | This function removes a face remapping previously added by | 2476 | This function removes a face remapping previously added by |
| 2477 | @code{add-relative-face-remapping}. @var{cookie} should be a return | 2477 | @code{face-remap-add-relative}. @var{cookie} should be a return value |
| 2478 | value from that function. | 2478 | from that function. |
| 2479 | @end defun | 2479 | @end defun |
| 2480 | 2480 | ||
| 2481 | @defun set-base-face-remapping face &rest specs | 2481 | @defun face-remap-set-base face &rest specs |
| 2482 | This function sets the ``base remapping'' of @var{face} in the current | 2482 | This function sets the ``base remapping'' of @var{face} in the current |
| 2483 | buffer to @var{specs}. If @var{specs} is empty, the default base | 2483 | buffer to @var{specs}. If @var{specs} is empty, the default base |
| 2484 | remapping is restored, which inherits from the global definition of | 2484 | remapping is restored, which inherits from the global definition of |
| @@ -2487,7 +2487,7 @@ single value @code{nil}, which has the opposite result (the global | |||
| 2487 | definition of @var{face} is ignored). | 2487 | definition of @var{face} is ignored). |
| 2488 | @end defun | 2488 | @end defun |
| 2489 | 2489 | ||
| 2490 | @defun set-default-base-face-remapping face | 2490 | @defun face-remap-reset-base face |
| 2491 | This function sets the ``base remapping'' of @var{face} to its default | 2491 | This function sets the ``base remapping'' of @var{face} to its default |
| 2492 | value, which inherits from @var{face}'s global definition. | 2492 | value, which inherits from @var{face}'s global definition. |
| 2493 | @end defun | 2493 | @end defun |