diff options
| author | Richard M. Stallman | 1993-02-16 06:36:30 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-02-16 06:36:30 +0000 |
| commit | 8290babd65e20c3cbe2eb850a40a078afee63463 (patch) | |
| tree | f1760329c29d9dd8c5f769f8b9c9686accfdf3ef | |
| parent | 4b3ed5e7ae9021c87735c84d25d007c0adb19810 (diff) | |
| download | emacs-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.el | 16 |
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. |
| 340 | When called interactively, prompt for the name of the color to use." | 340 | When 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. |
| 347 | When called interactively, prompt for the name of the color to use." | 347 | When 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. |
| 368 | With arg, turn auto-raise mode on if and only if arg is positive." | 368 | With 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. |
| 379 | With arg, turn auto-lower mode on if and only if arg is positive." | 379 | With 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. |
| 390 | With arg, turn vertical scrollbars on if and only if arg is positive." | 390 | With 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. |
| 402 | With arg, turn horizontal scrollbars on if and only if arg is positive. | 402 | With arg, turn horizontal scrollbars on if and only if arg is positive. |
| 403 | Horizontal scrollbars aren't implemented yet." | 403 | Horizontal 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. |