summaryrefslogtreecommitdiff
path: root/lisp/speedbar.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2016-01-30 11:48:18 -0800
committerGlenn Morris <rgm@gnu.org>2016-01-30 11:51:10 -0800
commit0fac75fed1c7d61858bef15e951bf9a0835d5bac (patch)
treebf2d4471a9933147fa22e717e55f82ef18483f6a /lisp/speedbar.el
parent2df0e04296b73d212875ce46c8734ec255496a78 (diff)
downloademacs-0fac75fed1c7d61858bef15e951bf9a0835d5bac.tar.gz
Improve the custom type of some user options.
* lisp/desktop.el (desktop-minor-mode-table): * lisp/man.el (Man-frame-parameters): * lisp/midnight.el (midnight-delay): * lisp/speedbar.el (speedbar-select-frame-method): * lisp/tooltip.el (tooltip-frame-parameters): * lisp/tree-widget.el (tree-widget-space-width): * lisp/type-break.el (type-break-keystroke-threshold): * lisp/woman.el (woman-imenu-generic-expression): * lisp/cedet/ede.el (ede-debug-program-function): * lisp/cedet/ede/project-am.el (project-am-debug-target-function): * lisp/emulation/viper-keym.el (viper-toggle-key): * lisp/erc/erc-networks.el (erc-server-alist): * lisp/gnus/message.el (message-deletable-headers, message-signature): * lisp/mail/mailalias.el (mail-directory-stream): * lisp/play/tetris.el (tetris-x-colors): * lisp/progmodes/gud.el (gud-tooltip-modes): Improve custom type.
Diffstat (limited to 'lisp/speedbar.el')
-rw-r--r--lisp/speedbar.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index f4698732077..4ed00ae439d 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -3469,11 +3469,11 @@ TOKEN will be the list, and INDENT is the current indentation level."
;;
(defcustom speedbar-select-frame-method 'attached
"Specify how to select a frame for displaying a file.
-A value of `attached' means to use the attached frame (the frame
-that speedbar was started from.) A number such as 1 or -1 means to
-pass that number to `other-frame' while selecting a frame from speedbar."
+A number such as 1 or -1 means to pass that number to `other-frame'
+while selecting a frame from speedbar. Any other value means to use
+the attached frame (the frame that speedbar was started from)."
:group 'speedbar
- :type 'sexp)
+ :type '(choice integer (other :tag "attached" attached)))
(defun speedbar-find-file-in-frame (file)
"This will load FILE into the speedbar attached frame.