aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-09-13 06:16:07 +0000
committerRichard M. Stallman1997-09-13 06:16:07 +0000
commita27f97ee156cb33cafb6c7d3c0f1f052058f761f (patch)
tree84310c031ae8508d4a7fcec29136dbc6f1222bfe
parenteabbaad87ab30d55dc7d008f9053a0f7a210177e (diff)
downloademacs-a27f97ee156cb33cafb6c7d3c0f1f052058f761f.tar.gz
emacs-a27f97ee156cb33cafb6c7d3c0f1f052058f761f.zip
(viper-mouse-search-key, viper-mouse-insert-key): Fix customize type.
-rw-r--r--lisp/emulation/viper-mous.el38
1 files changed, 24 insertions, 14 deletions
diff --git a/lisp/emulation/viper-mous.el b/lisp/emulation/viper-mous.el
index 3b3fa94a6fe..75879dcb973 100644
--- a/lisp/emulation/viper-mous.el
+++ b/lisp/emulation/viper-mous.el
@@ -607,25 +607,35 @@ bindings in the Viper manual."
607 607
608(defcustom viper-mouse-search-key '(meta shift 1) 608(defcustom viper-mouse-search-key '(meta shift 1)
609 "*Key used to click-search in Viper. 609 "*Key used to click-search in Viper.
610Must be a list that specifies the mouse button and modifiers. The supported 610This must be a list that specifies the mouse button and modifiers.
611modifiers are `meta', `shift', and `control'. For instance, `(meta shift 1)' 611The supported modifiers are `meta', `shift', and `control'.
612means that holding the meta and shift keys down and clicking on a word with 612For instance, `(meta shift 1)' means that holding the meta and shift
613mouse button 1 will initiate search for that word in the buffer that was 613keys down and clicking on a word with mouse button 1
614current just before the click. This buffer may be different from the one where 614will search for that word in the buffer that was current before the click.
615the click occurred." 615This buffer may be different from the one where the click occurred."
616 :type 'list 616 ;; This does not work
617 ;; :type '(list (set :inline meta shift control)
618 ;; integer)
619 ;; This doesn't work either.
620 ;; :type '(set meta shift control 1 2 3)
621 :type 'sexp
617 :set 'viper-reset-mouse-search-key 622 :set 'viper-reset-mouse-search-key
618 :group 'viper-mouse) 623 :group 'viper-mouse)
619 624
620(defcustom viper-mouse-insert-key '(meta shift 2) 625(defcustom viper-mouse-insert-key '(meta shift 2)
621 "*Key used to click-insert in Viper. 626 "*Key used to click-insert in Viper.
622Must be a list that specifies the mouse button and modifiers. The supported 627Must be a list that specifies the mouse button and modifiers.
623modifiers are `meta', `shift', and `control'. For instance, `(meta shift 2)' 628The supported modifiers are `meta', `shift', and `control'.
624means that holding the meta and shift keys down and clicking on a word with 629For instance, `(meta shift 2)' means that holding the meta and shift keys
625mouse button 2 will insert that word at the cursor in the buffer that was 630down, and clicking on a word with mouse button 2, will insert that word
626current just before the click. This buffer may be different from the one where 631at the cursor in the buffer that was current just before the click.
627the click occurred." 632This buffer may be different from the one where the click occurred."
628 :type 'list 633 ;; This does not work.
634 ;; :type '(list (set :inline meta shift control)
635 ;; integer)
636 ;; This doesn't work either.
637 ;; :type '(set meta shift control 1 2 3)
638 :type 'sexp
629 :set 'viper-reset-mouse-insert-key 639 :set 'viper-reset-mouse-insert-key
630 :group 'viper-mouse) 640 :group 'viper-mouse)
631 641