aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-02-16 06:36:30 +0000
committerRichard M. Stallman1993-02-16 06:36:30 +0000
commit8290babd65e20c3cbe2eb850a40a078afee63463 (patch)
treef1760329c29d9dd8c5f769f8b9c9686accfdf3ef
parent4b3ed5e7ae9021c87735c84d25d007c0adb19810 (diff)
downloademacs-8290babd65e20c3cbe2eb850a40a078afee63463.tar.gz
emacs-8290babd65e20c3cbe2eb850a40a078afee63463.zip
(frame-initialize): Fix error syntax.
(toggle-horizontal-scroll-bar): Likewise. (toggle-horizontal-scroll-bar): Renamed from set-horizontal-bar (toggle-vertical-scroll-bar): Likewise. (toggle-auto-lower, toggle-auto-raise): Likewise. (set-foreground-color, set-background-color): Renamed from set-frame-{fore,back}ground.
-rw-r--r--lisp/frame.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index af1555fb776..d3c640a5dbd 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -103,7 +103,7 @@ These supercede the values given in default-frame-alist.")
103 (function 103 (function
104 (lambda (parameters) 104 (lambda (parameters)
105 (error 105 (error
106 "Can't create multiple frames without a window system.")))))) 106 "Can't create multiple frames without a window system"))))))
107 107
108;;; startup.el calls this function after loading the user's init 108;;; startup.el calls this function after loading the user's init
109;;; file. Now default-frame-alist and initial-frame-alist contain 109;;; file. Now default-frame-alist and initial-frame-alist contain
@@ -335,14 +335,14 @@ When called interactively, prompt for the name of the font to use."
335 (modify-frame-parameters (selected-frame) 335 (modify-frame-parameters (selected-frame)
336 (list (cons 'font font-name)))) 336 (list (cons 'font font-name))))
337 337
338(defun set-frame-background (color-name) 338(defun set-background-color (color-name)
339 "Set the background color of the selected frame to COLOR. 339 "Set the background color of the selected frame to COLOR.
340When called interactively, prompt for the name of the color to use." 340When called interactively, prompt for the name of the color to use."
341 (interactive "sColor: ") 341 (interactive "sColor: ")
342 (modify-frame-parameters (selected-frame) 342 (modify-frame-parameters (selected-frame)
343 (list (cons 'background-color color-name)))) 343 (list (cons 'background-color color-name))))
344 344
345(defun set-frame-foreground (color-name) 345(defun set-foreground-color (color-name)
346 "Set the foreground color of the selected frame to COLOR. 346 "Set the foreground color of the selected frame to COLOR.
347When called interactively, prompt for the name of the color to use." 347When called interactively, prompt for the name of the color to use."
348 (interactive "sColor: ") 348 (interactive "sColor: ")
@@ -363,7 +363,7 @@ When called interactively, prompt for the name of the color to use."
363 (modify-frame-parameters (selected-frame) 363 (modify-frame-parameters (selected-frame)
364 (list (cons 'mouse-color color-name)))) 364 (list (cons 'mouse-color color-name))))
365 365
366(defun set-auto-raise (arg) 366(defun toggle-auto-raise (arg)
367 "Toggle whether or not the selected frame should auto-raise. 367 "Toggle whether or not the selected frame should auto-raise.
368With arg, turn auto-raise mode on if and only if arg is positive." 368With arg, turn auto-raise mode on if and only if arg is positive."
369 (interactive "P") 369 (interactive "P")
@@ -374,7 +374,7 @@ With arg, turn auto-raise mode on if and only if arg is positive."
374 (modify-frame-parameters (selected-frame) 374 (modify-frame-parameters (selected-frame)
375 (list (cons 'auto-raise (> arg 0))))) 375 (list (cons 'auto-raise (> arg 0)))))
376 376
377(defun set-auto-lower (arg) 377(defun toggle-auto-lower (arg)
378 "Toggle whether or not the selected frame should auto-lower. 378 "Toggle whether or not the selected frame should auto-lower.
379With arg, turn auto-lower mode on if and only if arg is positive." 379With arg, turn auto-lower mode on if and only if arg is positive."
380 (interactive "P") 380 (interactive "P")
@@ -385,7 +385,7 @@ With arg, turn auto-lower mode on if and only if arg is positive."
385 (modify-frame-parameters (selected-frame) 385 (modify-frame-parameters (selected-frame)
386 (list (cons 'auto-lower (> arg 0))))) 386 (list (cons 'auto-lower (> arg 0)))))
387 387
388(defun set-vertical-bar (arg) 388(defun toggle-vertical-scroll-bar (arg)
389 "Toggle whether or not the selected frame has vertical scrollbars. 389 "Toggle whether or not the selected frame has vertical scrollbars.
390With arg, turn vertical scrollbars on if and only if arg is positive." 390With arg, turn vertical scrollbars on if and only if arg is positive."
391 (interactive "P") 391 (interactive "P")
@@ -397,12 +397,12 @@ With arg, turn vertical scrollbars on if and only if arg is positive."
397 (modify-frame-parameters (selected-frame) 397 (modify-frame-parameters (selected-frame)
398 (list (cons 'vertical-scrollbars (> arg 0))))) 398 (list (cons 'vertical-scrollbars (> arg 0)))))
399 399
400(defun set-horizontal-bar (arg) 400(defun toggle-horizontal-scroll-bar (arg)
401 "Toggle whether or not the selected frame has horizontal scrollbars. 401 "Toggle whether or not the selected frame has horizontal scrollbars.
402With arg, turn horizontal scrollbars on if and only if arg is positive. 402With arg, turn horizontal scrollbars on if and only if arg is positive.
403Horizontal scrollbars aren't implemented yet." 403Horizontal scrollbars aren't implemented yet."
404 (interactive "P") 404 (interactive "P")
405 (error "Horizontal scrollbars aren't implemented yet.")) 405 (error "Horizontal scroll bars aren't implemented yet"))
406 406
407 407
408;;;; Aliases for backward compatibility with Emacs 18. 408;;;; Aliases for backward compatibility with Emacs 18.