[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b906ef3 1/2: Remove some compat code from viper-cmd.el
From: |
Lars Ingebrigtsen |
Subject: |
master b906ef3 1/2: Remove some compat code from viper-cmd.el |
Date: |
Tue, 18 Aug 2020 17:24:40 -0400 (EDT) |
branch: master
commit b906ef38fc68ea39b914c89c3c5eab5adfd03a2e
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Remove some compat code from viper-cmd.el
* lisp/emulation/viper-cmd.el (viper-next-line-at-bol): No need to
check for button-at.
---
lisp/emulation/viper-cmd.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el
index b10a533..5518af4 100644
--- a/lisp/emulation/viper-cmd.el
+++ b/lisp/emulation/viper-cmd.el
@@ -2883,7 +2883,7 @@ If point is on a widget or a button, simulate clicking on
that widget/button."
(and (consp widget)
(get (widget-type widget) 'widget-type))))
(widget-button-press (point))
- (if (and (fboundp 'button-at) (fboundp 'push-button) (button-at (point)))
+ (if (button-at (point))
(push-button)
;; not a widget or a button
(save-excursion