From: Lars Ingebrigtsen Date: Wed, 12 Aug 2020 16:56:47 +0000 (+0200) Subject: Remove some compat code from viper-cmd.el X-Git-Tag: emacs-28.0.90~6643 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=56a44a882c651dae40bd8de1dc81101b4e87ab54;p=emacs.git Remove some compat code from viper-cmd.el * lisp/emulation/viper-cmd.el (viper-register-to-point): frame-configuration-p is always available in Emacs now. --- diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el index 4c3a9b319b8..77f1b291043 100644 --- a/lisp/emulation/viper-cmd.el +++ b/lisp/emulation/viper-cmd.el @@ -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))