From 56a44a882c651dae40bd8de1dc81101b4e87ab54 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 12 Aug 2020 18:56:47 +0200 Subject: [PATCH] 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. --- lisp/emulation/viper-cmd.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)) -- 2.39.5