summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-bookmark.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-02-10 14:42:03 +1100
committerLars Ingebrigtsen <larsi@gnus.org>2016-02-10 14:42:03 +1100
commitb444e664d0a0be2eefe243345579bb0ebd08b112 (patch)
tree1ff30ffec09fb0f4105e996b98ac24b3186c14a1 /lisp/gnus/gnus-bookmark.el
parentf962e3cde2710f1514020f1ef35f214f7aa87967 (diff)
downloademacs-b444e664d0a0be2eefe243345579bb0ebd08b112.tar.gz
emacs-b444e664d0a0be2eefe243345579bb0ebd08b112.tar.bz2
emacs-b444e664d0a0be2eefe243345579bb0ebd08b112.zip
Remove Gnus compat names for mouse bindings
* lisp/gnus/gnus-ems.el (gnus-widget-button-keymap): Remove. (gnus-down-mouse-2): Remove. (gnus-down-mouse-3): Remove.
Diffstat (limited to 'lisp/gnus/gnus-bookmark.el')
-rw-r--r--lisp/gnus/gnus-bookmark.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/gnus/gnus-bookmark.el b/lisp/gnus/gnus-bookmark.el
index 1a082c255b6..0cdbff09937 100644
--- a/lisp/gnus/gnus-bookmark.el
+++ b/lisp/gnus/gnus-bookmark.el
@@ -400,7 +400,7 @@ deletion, or > if it is flagged for displaying."
(insert "\n")))
`(mouse-face highlight follow-link t
help-echo ,(format "%s: go to this article"
- (aref gnus-mouse-2 0))))
+ 'mouse-2)))
(insert name "\n")))
(goto-char (point-min))
(forward-line 2)
@@ -463,7 +463,7 @@ That is, all information but the name."
(define-key gnus-bookmark-bmenu-mode-map "s" 'gnus-bookmark-bmenu-save)
(define-key gnus-bookmark-bmenu-mode-map "t" 'gnus-bookmark-bmenu-toggle-infos)
(define-key gnus-bookmark-bmenu-mode-map "a" 'gnus-bookmark-bmenu-show-details)
- (define-key gnus-bookmark-bmenu-mode-map gnus-mouse-2
+ (define-key gnus-bookmark-bmenu-mode-map [mouse-2]
'gnus-bookmark-bmenu-select-by-mouse))
;; Bookmark Buffer Menu mode is suitable only for specially formatted
@@ -561,7 +561,7 @@ Optional argument SHOW means show them unconditionally."
`(mouse-face highlight
follow-link t
help-echo ,(format "%s: go to this article"
- (aref gnus-mouse-2 0))))))))
+ 'mouse-2)))))))
(defun gnus-bookmark-kill-line (&optional newline-too)
"Kill from point to end of line.
@@ -611,7 +611,7 @@ Does not affect the kill ring."
follow-link t
help-echo
,(format "%s: go to this bookmark in other window"
- (aref gnus-mouse-2 0))))))
+ 'mouse-2)))))
(setq gnus-bookmark-bmenu-hidden-bookmarks
(cdr gnus-bookmark-bmenu-hidden-bookmarks))
(forward-line 1))))))))