Mercurial > emacs
diff lisp/emulation/viper-ex.el @ 14384:854325337547
Moved code around to minimize compiler warnings.
author | Michael Kifer <kifer@cs.stonybrook.edu> |
---|---|
date | Fri, 26 Jan 1996 23:34:09 +0000 |
parents | 654081a41047 |
children | 12f164226ba7 |
line wrap: on
line diff
--- a/lisp/emulation/viper-ex.el Fri Jan 26 19:57:45 1996 +0000 +++ b/lisp/emulation/viper-ex.el Fri Jan 26 23:34:09 1996 +0000 @@ -1412,7 +1412,7 @@ ;; Ex print working directory (defun ex-pwd () - (message "%s" default-directory)) + (message default-directory)) ;; Ex quit command (defun ex-quit () @@ -1560,7 +1560,7 @@ val "nil"))) (if (eq val 0) ; value must be set by the user (let ((cursor-in-echo-area t)) - (message ":set %s = <Value>" var) + (message (format ":set %s = <Value>" var)) ;; if there are unread events, don't wait (or (vip-set-unread-command-events "") (sit-for 2)) (setq val (read-string (format ":set %s = " var))) @@ -1632,9 +1632,9 @@ )) )) - (message "%s %s %s" set-cmd var (if (string-match "^[ \t]*$" val) - (format "%S" val) - val)) + (message (format "%s %s %s" set-cmd var (if (string-match "^[ \t]*$" val) + (format "%S" val) + val))) (eval (car (read-from-string actual-lisp-cmd))) (if (string= var "fill-column") (if (> val2 0) @@ -1962,7 +1962,7 @@ (if (buffer-modified-p) "[Modified]" "[Unchanged]"))) (if (< (+ 1 (length info) (length file)) (window-width (minibuffer-window))) - (message "%s %s" file info) + (message (concat file " " info)) (save-window-excursion (with-output-to-temp-buffer " *vip-info*" (princ (concat "\n"