From b94f99c8043811dc9a41b0e6e4b95a8233abf1c2 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 1 Mar 2008 20:10:26 +0000 Subject: [PATCH] Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test. --- lisp/emulation/viper-ex.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lisp/emulation/viper-ex.el b/lisp/emulation/viper-ex.el index 8e19a0b50bd..cd153bdaf91 100644 --- a/lisp/emulation/viper-ex.el +++ b/lisp/emulation/viper-ex.el @@ -2077,10 +2077,8 @@ Please contact your system administrator. " ;; create temp buffer for the region (setq temp-buf (get-buffer-create " *ex-write*")) (set-buffer temp-buf) - (viper-cond-compile-for-xemacs-or-emacs - (set-visited-file-name ex-file) ; xemacs - (set-visited-file-name ex-file 'noquerry) ; emacs - ) + (if (featurep 'xemacs) (set-visited-file-name ex-file) + (set-visited-file-name ex-file 'noquery)) (erase-buffer) (if (and file-exists ex-append) (insert-file-contents ex-file)) -- 2.39.2