+2003-01-02 Steven Tamm <steventamm@mac.com>
+
+ * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode): Have
+ scroll bars correctly default to being on the right for Mac
+ Carbon port by testing "mac-carbon" feature, not window-system.
+
2003-01-02 Markus Rost <rost@math.ohio-state.edu>
* cus-edit.el (customize-group, customize-group-other-window):
(defcustom scroll-bar-mode
(cond ((eq system-type 'windows-nt) 'right)
- ((eq window-system 'mac) 'right)
+ ((featurep 'mac-carbon) 'right)
(t 'left))
"*Specify whether to have vertical scroll bars, and on which side.
Possible values are nil (no scroll bars), `left' (scroll bars on left)
(set-scroll-bar-mode (if (null flag) (not scroll-bar-mode)
(and (or (not (numberp flag)) (>= flag 0))
(cond ((eq system-type 'windows-nt) 'right)
- ((eq window-system 'mac) 'right)
+ ((featurep 'mac-carbon) 'right)
(t 'left))))))
(defun toggle-scroll-bar (arg)
(if (> arg 0)
(or scroll-bar-mode
(cond ((eq system-type 'windows-nt) 'right)
- ((eq window-system 'mac) 'right)
+ ((featurep 'mac-carbon) 'right)
(t 'left))))))))
(defun toggle-horizontal-scroll-bar (arg)