diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-09-15 23:21:03 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-09-15 23:21:03 +0000 |
commit | f0f90cfddf26c142604377904049c9070038cb9a (patch) | |
tree | 9feb4e8a4f318e7c9f0de8bd08846d727bd6f120 | |
parent | ce2f921ee50d54e0cf7ba269ef3811f27b1d4418 (diff) | |
download | emacs-f0f90cfddf26c142604377904049c9070038cb9a.tar.gz |
(viper-mouse-search-key): Fix custom type.
(viper-mouse-insert-key): Likewise.
-rw-r--r-- | lisp/emulation/viper-mous.el | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/lisp/emulation/viper-mous.el b/lisp/emulation/viper-mous.el index 75879dcb973..7a10f42a5a5 100644 --- a/lisp/emulation/viper-mous.el +++ b/lisp/emulation/viper-mous.el @@ -613,12 +613,11 @@ For instance, `(meta shift 1)' means that holding the meta and shift keys down and clicking on a word with mouse button 1 will search for that word in the buffer that was current before the click. This buffer may be different from the one where the click occurred." - ;; This does not work - ;; :type '(list (set :inline meta shift control) - ;; integer) - ;; This doesn't work either. - ;; :type '(set meta shift control 1 2 3) - :type 'sexp + :type '(list (set :inline t :tag "Modifiers" :format "%t: %v" + (const :format "%v " meta) + (const :format "%v " shift) + (const control)) + (integer :tag "Button")) :set 'viper-reset-mouse-search-key :group 'viper-mouse) @@ -630,12 +629,11 @@ For instance, `(meta shift 2)' means that holding the meta and shift keys down, and clicking on a word with mouse button 2, will insert that word at the cursor in the buffer that was current just before the click. This buffer may be different from the one where the click occurred." - ;; This does not work. - ;; :type '(list (set :inline meta shift control) - ;; integer) - ;; This doesn't work either. - ;; :type '(set meta shift control 1 2 3) - :type 'sexp + :type '(list (set :inline t :tag "Modifiers" :format "%t: %v" + (const :format "%v " meta) + (const :format "%v " shift) + (const control)) + (integer :tag "Button")) :set 'viper-reset-mouse-insert-key :group 'viper-mouse) |