]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove some compat code from viper-cmd.el
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 12 Aug 2020 16:56:47 +0000 (18:56 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 12 Aug 2020 16:56:47 +0000 (18:56 +0200)
* lisp/emulation/viper-cmd.el (viper-register-to-point):
frame-configuration-p is always available in Emacs now.

lisp/emulation/viper-cmd.el

index 4c3a9b319b84d35f49c1d98ba86417abf2a1d2c4..77f1b291043dce54968fe0b1cf1c080fb9ef0ccc 100644 (file)
@@ -4695,8 +4695,7 @@ Please, specify your level now: "))
   (interactive "cViper register to point: ")
   (let ((val (get-register char)))
     (cond
-     ((and (fboundp 'frame-configuration-p)
-          (frame-configuration-p val))
+     ((frame-configuration-p val)
       (set-frame-configuration val))
      ((window-configuration-p val)
       (set-window-configuration val))