From 4cea11ffadc5a3ea1f79bf6558572d21d51dbb9c Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 25 Jan 1996 01:13:01 +0000 Subject: [PATCH] (vip-replace-string, vip-search-forward, vip-search-backward): Delete format call inside message. --- lisp/emulation/vip.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el index e9283fb30a2..8a7f0757b6d 100644 --- a/lisp/emulation/vip.el +++ b/lisp/emulation/vip.el @@ -939,9 +939,9 @@ the query replace mode will toggle between string replace and regexp replace." (if (string= str "") (progn (setq vip-re-replace (not vip-re-replace)) - (message (format "Replace mode changed to %s." - (if vip-re-replace "regexp replace" - "string replace")))) + (message "Replace mode changed to %s." + (if vip-re-replace "regexp replace" + "string replace"))) (if vip-re-replace ;; (replace-regexp ;; str @@ -1460,9 +1460,9 @@ giving null search string." (if (string= vip-s-string "") (progn (setq vip-re-search (not vip-re-search)) - (message (format "Search mode changed to %s search." - (if vip-re-search "regular expression" - "vanilla")))) + (message "Search mode changed to %s search." + (if vip-re-search "regular expression" + "vanilla"))) (vip-search vip-s-string t val) (if com (progn @@ -1480,9 +1480,9 @@ giving null search string." (if (string= vip-s-string "") (progn (setq vip-re-search (not vip-re-search)) - (message (format "Search mode changed to %s search." - (if vip-re-search "regular expression" - "vanilla")))) + (message "Search mode changed to %s search." + (if vip-re-search "regular expression" + "vanilla"))) (vip-search vip-s-string nil val) (if com (progn -- 2.39.2