diff options
| -rw-r--r-- | lisp/emulation/viper-ex.el | 4 | ||||
| -rw-r--r-- | lisp/emulation/viper-macs.el | 10 | ||||
| -rw-r--r-- | lisp/emulation/ws-mode.el | 2 |
3 files changed, 10 insertions, 6 deletions
diff --git a/lisp/emulation/viper-ex.el b/lisp/emulation/viper-ex.el index 87d2d7f5d5a..5321228fe29 100644 --- a/lisp/emulation/viper-ex.el +++ b/lisp/emulation/viper-ex.el | |||
| @@ -1590,7 +1590,7 @@ reversed." | |||
| 1590 | 1590 | ||
| 1591 | ;; Ex print working directory | 1591 | ;; Ex print working directory |
| 1592 | (defun ex-pwd () | 1592 | (defun ex-pwd () |
| 1593 | (message default-directory)) | 1593 | (message "%s" default-directory)) |
| 1594 | 1594 | ||
| 1595 | ;; Ex quit command | 1595 | ;; Ex quit command |
| 1596 | (defun ex-quit () | 1596 | (defun ex-quit () |
| @@ -2230,7 +2230,7 @@ Type 'mak ' (including the space) to run make with no args." | |||
| 2230 | (if (buffer-modified-p) "[Modified]" "[Unchanged]"))) | 2230 | (if (buffer-modified-p) "[Modified]" "[Unchanged]"))) |
| 2231 | (if (< (+ 1 (length info) (length file)) | 2231 | (if (< (+ 1 (length info) (length file)) |
| 2232 | (window-width (minibuffer-window))) | 2232 | (window-width (minibuffer-window))) |
| 2233 | (message (concat file " " info)) | 2233 | (message "%s" (concat file " " info)) |
| 2234 | (save-window-excursion | 2234 | (save-window-excursion |
| 2235 | (with-output-to-temp-buffer " *viper-info*" | 2235 | (with-output-to-temp-buffer " *viper-info*" |
| 2236 | (princ (concat "\n" file "\n\n\t" info "\n\n"))) | 2236 | (princ (concat "\n" file "\n\n\t" info "\n\n"))) |
diff --git a/lisp/emulation/viper-macs.el b/lisp/emulation/viper-macs.el index edc5cba1bbe..9349a950e97 100644 --- a/lisp/emulation/viper-macs.el +++ b/lisp/emulation/viper-macs.el | |||
| @@ -186,7 +186,7 @@ a key is a symbol, e.g., `a', `\\1', `f2', etc., or a list, e.g., | |||
| 186 | variant (if (> (length key-seq) 0) | 186 | variant (if (> (length key-seq) 0) |
| 187 | (prin1-to-string (viper-display-macro key-seq)) | 187 | (prin1-to-string (viper-display-macro key-seq)) |
| 188 | ""))) | 188 | ""))) |
| 189 | (message message) | 189 | (message "%s" message) |
| 190 | (setq event (viper-read-key)) | 190 | (setq event (viper-read-key)) |
| 191 | ;;(setq event (viper-read-event)) | 191 | ;;(setq event (viper-read-event)) |
| 192 | (setq key | 192 | (setq key |
| @@ -263,7 +263,7 @@ a key is a symbol, e.g., `a', `\\1', `f2', etc., or a list, e.g., | |||
| 263 | (prin1-to-string | 263 | (prin1-to-string |
| 264 | (viper-display-macro key-seq)) | 264 | (viper-display-macro key-seq)) |
| 265 | ""))) | 265 | ""))) |
| 266 | (message message) | 266 | (message "%s" message) |
| 267 | (setq event (viper-read-key)) | 267 | (setq event (viper-read-key)) |
| 268 | ;;(setq event (viper-read-event)) | 268 | ;;(setq event (viper-read-event)) |
| 269 | (setq key | 269 | (setq key |
| @@ -442,7 +442,11 @@ If SCOPE is nil, the user is asked to specify the scope." | |||
| 442 | scope) | 442 | scope) |
| 443 | viper-custom-file-name)) | 443 | viper-custom-file-name)) |
| 444 | 444 | ||
| 445 | (message msg) | 445 | ;; 2005-09-18 T06:41:22-0400 (Sunday) D. Goel |
| 446 | ;; From careful parsing of the above code, it looks like msg | ||
| 447 | ;; couldn't be nil when we reach here. Since it is a string, | ||
| 448 | ;; and a complicated one too, we might as well provide it a "%s" | ||
| 449 | (message "%s" msg) | ||
| 446 | )) | 450 | )) |
| 447 | 451 | ||
| 448 | (setq new-elt | 452 | (setq new-elt |
diff --git a/lisp/emulation/ws-mode.el b/lisp/emulation/ws-mode.el index 41e8f5323a5..e677e5a20ff 100644 --- a/lisp/emulation/ws-mode.el +++ b/lisp/emulation/ws-mode.el | |||
| @@ -691,7 +691,7 @@ in ws-last-errormessage for recovery with C-q w." | |||
| 691 | This will only work for errors raised by WordStar mode functions." | 691 | This will only work for errors raised by WordStar mode functions." |
| 692 | (interactive) | 692 | (interactive) |
| 693 | (if ws-last-errormessage | 693 | (if ws-last-errormessage |
| 694 | (message ws-last-errormessage) | 694 | (message "%s" ws-last-errormessage) |
| 695 | (message "No WordStar error yet."))) | 695 | (message "No WordStar error yet."))) |
| 696 | 696 | ||
| 697 | (defun ws-kill-eol () | 697 | (defun ws-kill-eol () |