diff options
| author | Richard M. Stallman | 1997-06-28 00:45:31 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-06-28 00:45:31 +0000 |
| commit | 4fd2a3af4c501cadb425f4db596483a730774835 (patch) | |
| tree | cec503dd560faa4eb4248d657a93ddd2c66cb3ed | |
| parent | 1064fe3876f6a4d91f32bbd7ced15d93d4bac247 (diff) | |
| download | emacs-4fd2a3af4c501cadb425f4db596483a730774835.tar.gz emacs-4fd2a3af4c501cadb425f4db596483a730774835.zip | |
(scroll-bar-side): Variable deleted.
(toggle-scroll-bar, toggle-horizontal-scroll-bar):
Moved to scroll-bar.el.
| -rw-r--r-- | lisp/frame.el | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index abda506b8a2..f2face1788d 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -678,34 +678,6 @@ that is beyond the control of Emacs and this command has no effect on it." | |||
| 678 | -1 1))) | 678 | -1 1))) |
| 679 | (modify-frame-parameters (selected-frame) | 679 | (modify-frame-parameters (selected-frame) |
| 680 | (list (cons 'auto-lower (> arg 0))))) | 680 | (list (cons 'auto-lower (> arg 0))))) |
| 681 | |||
| 682 | (defcustom scroll-bar-side 'left | ||
| 683 | "*Specify which side scroll bars should be on. Value is `left' or `right'." | ||
| 684 | :type '(choice (const left) | ||
| 685 | (const right)) | ||
| 686 | :group 'frames) | ||
| 687 | |||
| 688 | (defun toggle-scroll-bar (arg) | ||
| 689 | "Toggle whether or not the selected frame has vertical scroll bars. | ||
| 690 | With arg, turn vertical scroll bars on if and only if arg is positive." | ||
| 691 | (interactive "P") | ||
| 692 | (if (null arg) | ||
| 693 | (setq arg | ||
| 694 | (if (cdr (assq 'vertical-scroll-bars | ||
| 695 | (frame-parameters (selected-frame)))) | ||
| 696 | -1 1))) | ||
| 697 | (modify-frame-parameters (selected-frame) | ||
| 698 | (list (cons 'vertical-scroll-bars | ||
| 699 | (if (> arg 0) | ||
| 700 | scroll-bar-side))))) | ||
| 701 | |||
| 702 | (defun toggle-horizontal-scroll-bar (arg) | ||
| 703 | "Toggle whether or not the selected frame has horizontal scroll bars. | ||
| 704 | With arg, turn horizontal scroll bars on if and only if arg is positive. | ||
| 705 | Horizontal scroll bars aren't implemented yet." | ||
| 706 | (interactive "P") | ||
| 707 | (error "Horizontal scroll bars aren't implemented yet")) | ||
| 708 | |||
| 709 | 681 | ||
| 710 | ;;;; Aliases for backward compatibility with Emacs 18. | 682 | ;;;; Aliases for backward compatibility with Emacs 18. |
| 711 | (defalias 'screen-height 'frame-height) | 683 | (defalias 'screen-height 'frame-height) |