diff options
author | Glenn Morris <rgm@gnu.org> | 2010-10-23 17:58:22 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2010-10-23 17:58:22 -0700 |
commit | ec51400782d909f06be58d3ea1f2552136dd1927 (patch) | |
tree | 3ea5244301bb519f91243cf861522e5ccbbf79ea /lisp/frame.el | |
parent | 530f7b672740a4799d1fe40fd47d849e91c5ca68 (diff) | |
download | emacs-ec51400782d909f06be58d3ea1f2552136dd1927.tar.gz |
Avoid redefining some C defcustoms.
* lisp/frame.el (show-trailing-whitespace, auto-hscroll-mode)
(display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
Don't redefine things that are defined in C.
* lisp/cus-start.el: Also handle :risky, :safe, :set, and :tag.
(show-trailing-whitespace, auto-hscroll-mode)
(display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
Set up the appropriate custom properties.
Diffstat (limited to 'lisp/frame.el')
-rw-r--r-- | lisp/frame.el | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index 431c2aefff4..8210363610c 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -1467,14 +1467,6 @@ left untouched. FRAME nil or omitted means use the selected frame." (make-variable-buffer-local 'show-trailing-whitespace) -(defcustom show-trailing-whitespace nil - "Non-nil means highlight trailing whitespace. -This is done in the face `trailing-whitespace'." - :type 'boolean - :safe 'booleanp - :group 'whitespace-faces) - - ;; Scrolling @@ -1483,13 +1475,6 @@ This is done in the face `trailing-whitespace'." :version "21.1" :group 'frames) -(defcustom auto-hscroll-mode t - "Allow or disallow automatic horizontal scrolling of windows. -If non-nil, windows are automatically scrolled horizontally to make -point visible." - :version "21.1" - :type 'boolean - :group 'scrolling) (defvaralias 'automatic-hscrolling 'auto-hscroll-mode) @@ -1576,35 +1561,6 @@ cursor display. On a text-only terminal, this is not implemented." 'blink-cursor-start)))) (define-obsolete-variable-alias 'blink-cursor 'blink-cursor-mode "22.1") - -;; Hourglass pointer - -(defcustom display-hourglass t - "Non-nil means show an hourglass pointer, when Emacs is busy. -This feature only works when on a window system that can change -cursor shapes." - :type 'boolean - :group 'cursor) - -(defcustom hourglass-delay 1 - "Seconds to wait before displaying an hourglass pointer when Emacs is busy." - :type 'number - :group 'cursor) - - -(defcustom cursor-in-non-selected-windows t - "Non-nil means show a cursor in non-selected windows. -If nil, only shows a cursor in the selected window. -If t, displays a cursor related to the usual cursor type -\(a solid box becomes hollow, a bar becomes a narrower bar). -You can also specify the cursor type as in the `cursor-type' variable. -Use Custom to set this variable and update the display." - :tag "Cursor In Non-selected Windows" - :type 'boolean - :group 'cursor - :set #'(lambda (symbol value) - (set-default symbol value) - (force-mode-line-update t))) ;;;; Key bindings |