[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/face-remap.el,v
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/face-remap.el,v |
Date: |
Wed, 04 Jun 2008 11:12:44 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Juanma Barranquero <lektu> 08/06/04 11:12:44
Index: face-remap.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/face-remap.el,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- face-remap.el 4 Jun 2008 05:38:00 -0000 1.2
+++ face-remap.el 4 Jun 2008 11:12:44 -0000 1.3
@@ -160,13 +160,13 @@
The amount of scaling is determined by the variable
`text-scale-mode-amount': one step scales the global default
-face size by the value of the variable `text-scale-mode-step' (a
-negative amount shrinks the text).
+face size by the value of the variable `text-scale-mode-step'
+\(a negative amount shrinks the text).
-The `increase-buffer-face-height' and
-`decrease-buffer-face-height' functions may be used to
-interactively modify the variable `text-scale-mode-amount' (they
-also enable or disable `text-scale-mode' as necessary."
+The `increase-buffer-face-height' and `decrease-buffer-face-height'
+functions may be used to interactively modify the variable
+`text-scale-mode-amount' (they also enable or disable `text-scale-mode'
+as necessary)."
:lighter (" " text-scale-mode-lighter)
(when text-scale-mode-remapping
(remove-relative-face-remapping text-scale-mode-remapping))
@@ -210,16 +210,15 @@
"Increase or decrease the height of the default face in the current buffer.
The actual adjustment made depends on the final component of the
-key-binding used to invoke the command, with all modifiers
-removed:
+key-binding used to invoke the command, with all modifiers removed:
+, = Increase the default face height by one step
- Decrease the default face height by one step
0 Reset the default face height to the global default
Then, continue to read input events and further adjust the face
-height as long as the input event read (with all modifiers
-removed) is one the above.
+height as long as the input event read (with all modifiers removed)
+is one of the above.
Each step scales the height of the default face by the variable
`text-scale-mode-step' (a negative number of steps decreases the
@@ -228,9 +227,9 @@
This command is a special-purpose wrapper around the
`increase-buffer-face-height' command which makes repetition
-convenient even when it is bound in a non-top-level keymap. For
-binding in a top-level keymap, `increase-buffer-face-height' or
-`decrease-default-face-height' may be more appropriate."
+convenient even when it is bound in a non-top-level keymap.
+For binding in a top-level keymap, `increase-buffer-face-height'
+or `decrease-default-face-height' may be more appropriate."
(interactive "p")
(let ((first t)
(step t)
@@ -264,8 +263,9 @@
(make-variable-buffer-local 'variable-pitch-mode-remapping)
(define-minor-mode variable-pitch-mode
- "Variable-pitch default-face mode. When active, causes the
-buffer text to be displayed using the `variable-pitch' face."
+ "Variable-pitch default-face mode.
+When active, causes the buffer text to be displayed using
+the `variable-pitch' face."
:lighter " VarPitch"
(when variable-pitch-mode-remapping
(remove-relative-face-remapping variable-pitch-mode-remapping))
- [Emacs-diffs] Changes to emacs/lisp/face-remap.el,v, Miles Bader, 2008/06/04
- [Emacs-diffs] Changes to emacs/lisp/face-remap.el,v,
Juanma Barranquero <=
- [Emacs-diffs] Changes to emacs/lisp/face-remap.el,v, Miles Bader, 2008/06/04
- [Emacs-diffs] Changes to emacs/lisp/face-remap.el,v, Miles Bader, 2008/06/04
- [Emacs-diffs] Changes to emacs/lisp/face-remap.el,v, Miles Bader, 2008/06/17
- [Emacs-diffs] Changes to emacs/lisp/face-remap.el,v, Miles Bader, 2008/06/17
- [Emacs-diffs] Changes to emacs/lisp/face-remap.el,v, Miles Bader, 2008/06/18
- [Emacs-diffs] Changes to emacs/lisp/face-remap.el,v, Miles Bader, 2008/06/20
- [Emacs-diffs] Changes to emacs/lisp/face-remap.el,v, Miles Bader, 2008/06/20
- [Emacs-diffs] Changes to emacs/lisp/face-remap.el,v, Miles Bader, 2008/06/21
- [Emacs-diffs] Changes to emacs/lisp/face-remap.el,v, Miles Bader, 2008/06/21