bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9918: 24.0.90; lazy-highlighting in Info mode


From: Juri Linkov
Subject: bug#9918: 24.0.90; lazy-highlighting in Info mode
Date: Thu, 03 Nov 2011 23:11:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (x86_64-pc-linux-gnu)

> And let's keep this bug report open, until the other proposed change
> be made (in 24.2).

I propose also to fix the clarity and unambiguousness of final messages
now before the next release:

=== modified file 'lisp/info.el'
--- lisp/info.el        2011-10-24 05:47:05 +0000
+++ lisp/info.el        2011-11-03 21:09:57 +0000
@@ -1846,7 +1844,7 @@ (defun Info-search (regexp &optional bou
                    (setq list nil)))
              (if found
                  (message "")
-               (signal 'search-failed (list regexp))))
+               (signal 'search-failed (list regexp "end of the manual"))))
          (if (not found)
              (progn (Info-read-subfile osubfile)
                     (goto-char opoint)

=== modified file 'lisp/misearch.el'
--- lisp/misearch.el    2011-04-19 13:44:55 +0000
+++ lisp/misearch.el    2011-11-03 21:08:09 +0000
@@ -173,8 +173,8 @@ (defun multi-isearch-search-fun ()
                   found)
               ;; Return nil when multi-isearch-next-buffer-current-function 
fails
               ;; (`with-current-buffer' raises an error for nil returned from 
it).
-              (error nil))
-          (signal 'search-failed (list string "Repeat for next buffer"))))))))
+              (error (signal 'search-failed (list string "end of multi"))))
+          (signal 'search-failed (list string "repeat for next buffer"))))))))
 
 (defun multi-isearch-wrap ()
   "Wrap the multiple buffers search when search is failed.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]