summaryrefslogtreecommitdiff
path: root/lisp/face-remap.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2008-10-27 10:37:41 +0000
committerJuanma Barranquero <lekktu@gmail.com>2008-10-27 10:37:41 +0000
commit16c1ddc2d581c920316b7886179a07850ecaf798 (patch)
treeeed0381942c345ef31b77c7bcb62af3f38de31e8 /lisp/face-remap.el
parentbee6058c44425c625099e7c2f711fef42bd82073 (diff)
downloademacs-16c1ddc2d581c920316b7886179a07850ecaf798.tar.gz
* face-remap.el (text-scale-increase, text-scale-decrease)
(text-scale-adjust): Remove &optional keyword from the arg list; the INC argument is not really optional, if the functions happen to be called from elisp.
Diffstat (limited to 'lisp/face-remap.el')
-rw-r--r--lisp/face-remap.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/face-remap.el b/lisp/face-remap.el
index 32bba13d00d..f87a86c70a0 100644
--- a/lisp/face-remap.el
+++ b/lisp/face-remap.el
@@ -229,7 +229,7 @@ be used to interactively modify the variable
(force-window-update (current-buffer)))
;;;###autoload
-(defun text-scale-increase (&optional inc)
+(defun text-scale-increase (inc)
"Increase the height of the default face in the current buffer by INC steps.
If the new height is other than the default, `text-scale-mode' is enabled.
@@ -243,7 +243,7 @@ will remove any scaling currently active."
(text-scale-mode (if (zerop text-scale-mode-amount) -1 1)))
;;;###autoload
-(defun text-scale-decrease (&optional dec)
+(defun text-scale-decrease (dec)
"Decrease the height of the default face in the current buffer by DEC steps.
See `text-scale-increase' for more details."
(interactive "p")
@@ -254,7 +254,7 @@ See `text-scale-increase' for more details."
;;;###autoload (define-key ctl-x-map [(control ?=)] 'text-scale-adjust)
;;;###autoload (define-key ctl-x-map [(control ?0)] 'text-scale-adjust)
;;;###autoload
-(defun text-scale-adjust (&optional inc)
+(defun text-scale-adjust (inc)
"Increase or decrease the height of the default face in the current buffer.
The actual adjustment made depends on the final component of the