diff options
| author | Jan Djärv | 2006-12-30 15:23:38 +0000 |
|---|---|---|
| committer | Jan Djärv | 2006-12-30 15:23:38 +0000 |
| commit | 84f1b4544ba27e301ef49659b8634f0321fa70de (patch) | |
| tree | 14dc26907cfee7eec332e5a619b45f96496a5e0a | |
| parent | f62c3ee2001790189c37ff7ec53586ffabfd0ecb (diff) | |
| download | emacs-84f1b4544ba27e301ef49659b8634f0321fa70de.tar.gz emacs-84f1b4544ba27e301ef49659b8634f0321fa70de.zip | |
Set scroll bar mode to right if set by X resources.
| -rw-r--r-- | lisp/term/x-win.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index e97d3752704..548cae9321c 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el | |||
| @@ -2484,6 +2484,10 @@ order until succeed.") | |||
| 2484 | (if res-selection-timeout | 2484 | (if res-selection-timeout |
| 2485 | (setq x-selection-timeout (string-to-number res-selection-timeout)))) | 2485 | (setq x-selection-timeout (string-to-number res-selection-timeout)))) |
| 2486 | 2486 | ||
| 2487 | ;; Set scroll bar mode to right if set by X resources. Default is left. | ||
| 2488 | (if (equal (x-get-resource "verticalScrollBars" "ScrollBars") "right") | ||
| 2489 | (customize-set-variable 'scroll-bar-mode 'right)) | ||
| 2490 | |||
| 2487 | (defun x-win-suspend-error () | 2491 | (defun x-win-suspend-error () |
| 2488 | (error "Suspending an Emacs running under X makes no sense")) | 2492 | (error "Suspending an Emacs running under X makes no sense")) |
| 2489 | (add-hook 'suspend-hook 'x-win-suspend-error) | 2493 | (add-hook 'suspend-hook 'x-win-suspend-error) |