Commit b94f99c8 authored by Glenn Morris's avatar Glenn Morris
Browse files

Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test.

parent c92d7d39
...@@ -2077,10 +2077,8 @@ Please contact your system administrator. " ...@@ -2077,10 +2077,8 @@ Please contact your system administrator. "
;; create temp buffer for the region ;; create temp buffer for the region
(setq temp-buf (get-buffer-create " *ex-write*")) (setq temp-buf (get-buffer-create " *ex-write*"))
(set-buffer temp-buf) (set-buffer temp-buf)
(viper-cond-compile-for-xemacs-or-emacs (if (featurep 'xemacs) (set-visited-file-name ex-file)
(set-visited-file-name ex-file) ; xemacs (set-visited-file-name ex-file 'noquery))
(set-visited-file-name ex-file 'noquerry) ; emacs
)
(erase-buffer) (erase-buffer)
(if (and file-exists ex-append) (if (and file-exists ex-append)
(insert-file-contents ex-file)) (insert-file-contents ex-file))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment