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.
This commit is contained in:
Lars Ingebrigtsen 2020-08-18 23:22:36 +02:00
parent 556ff983e7
commit b906ef38fc

View file

@ -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