aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-01-11 02:24:09 +0000
committerKarl Heuer1995-01-11 02:24:09 +0000
commita56687f1c0d33da916e0a7290caff24a5707de2b (patch)
treeeac713ff6fd3382aacdc4f3c250b15b77e3e0088
parentc98adc1b2ee0d0e144efd1049a49f57c053d499b (diff)
downloademacs-a56687f1c0d33da916e0a7290caff24a5707de2b.tar.gz
emacs-a56687f1c0d33da916e0a7290caff24a5707de2b.zip
(isearch-edit-string): Disable message logging.
(isearch-toggle-case-fold, isearch-message): Likewise.
-rw-r--r--lisp/isearch.el19
1 files changed, 12 insertions, 7 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 03e0ea2fc83..677fdef363a 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> 5;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu>
6 6
7;; |$Date: 1994/12/17 00:41:34 $|$Revision: 1.81 $ 7;; |$Date: 1994/12/26 05:09:07 $|$Revision: 1.82 $
8 8
9;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
10 10
@@ -704,7 +704,8 @@ If first char entered is \\[isearch-yank-word], then do word search instead."
704 (read-event))) 704 (read-event)))
705 ;; Binding minibuffer-history-symbol to nil is a work-around 705 ;; Binding minibuffer-history-symbol to nil is a work-around
706 ;; for some incompatibility with gmhist. 706 ;; for some incompatibility with gmhist.
707 (minibuffer-history-symbol)) 707 (minibuffer-history-symbol)
708 (message-log-max nil))
708 ;; If the first character the user types when we prompt them 709 ;; If the first character the user types when we prompt them
709 ;; for a string is the yank-word character, then go into 710 ;; for a string is the yank-word character, then go into
710 ;; word-search mode. Otherwise unread that character and 711 ;; word-search mode. Otherwise unread that character and
@@ -868,10 +869,11 @@ Use `isearch-exit' to quit without signalling."
868 (interactive) 869 (interactive)
869 (setq isearch-case-fold-search 870 (setq isearch-case-fold-search
870 (if isearch-case-fold-search nil 'yes)) 871 (if isearch-case-fold-search nil 'yes))
871 (message "%s%s [case %ssensitive]" 872 (let ((message-log-max nil))
872 (isearch-message-prefix nil nil isearch-nonincremental) 873 (message "%s%s [case %ssensitive]"
873 isearch-message 874 (isearch-message-prefix nil nil isearch-nonincremental)
874 (if isearch-case-fold-search "in" "")) 875 isearch-message
876 (if isearch-case-fold-search "in" "")))
875 (setq isearch-adjusted t) 877 (setq isearch-adjusted t)
876 (sit-for 1) 878 (sit-for 1)
877 (isearch-update)) 879 (isearch-update))
@@ -1275,7 +1277,10 @@ If there is no completion possible, say so and continue searching."
1275 isearch-message 1277 isearch-message
1276 (isearch-message-suffix c-q-hack ellipsis) 1278 (isearch-message-suffix c-q-hack ellipsis)
1277 ))) 1279 )))
1278 (if c-q-hack m (message "%s" m)))) 1280 (if c-q-hack
1281 m
1282 (let ((message-log-max nil))
1283 (message "%s" m)))))
1279 1284
1280(defun isearch-message-prefix (&optional c-q-hack ellipsis nonincremental) 1285(defun isearch-message-prefix (&optional c-q-hack ellipsis nonincremental)
1281 ;; If about to search, and previous search regexp was invalid, 1286 ;; If about to search, and previous search regexp was invalid,