emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r115368: * lisp/isearch.el (isearch-mode, isearch-do


From: Juri Linkov
Subject: [Emacs-diffs] trunk r115368: * lisp/isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL
Date: Wed, 04 Dec 2013 00:12:09 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115368
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/16035
committer: Juri Linkov <address@hidden>
branch nick: trunk
timestamp: Wed 2013-12-04 02:12:02 +0200
message:
  * lisp/isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL
  in add-hook and remove-hook for multi-buffer search. 
  
  * doc/lispref/searching.texi (Search and Replace): Fix `unread-command-events'
  and add ref.
modified:
  doc/lispref/ChangeLog          changelog-20091113204419-o5vbwnq5f7feedwu-6155
  doc/lispref/searching.texi     
searching.texi-20091113204419-o5vbwnq5f7feedwu-6208
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/isearch.el                isearch.el-20091113204419-o5vbwnq5f7feedwu-486
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2013-12-03 01:19:24 +0000
+++ b/doc/lispref/ChangeLog     2013-12-04 00:12:02 +0000
@@ -1,3 +1,8 @@
+2013-12-04  Juri Linkov  <address@hidden>
+
+       * searching.texi (Search and Replace): Fix `unread-command-events'
+       and add ref.
+
 2013-12-03  Juri Linkov  <address@hidden>
 
        * windows.texi (Choosing Window): Rename `no-display-ok' to

=== modified file 'doc/lispref/searching.texi'
--- a/doc/lispref/searching.texi        2013-10-23 17:20:09 +0000
+++ b/doc/lispref/searching.texi        2013-12-04 00:12:02 +0000
@@ -1770,10 +1770,9 @@
 Answer this question ``no'', and give up on the entire series of
 questions, assuming that the answers will be ``no''.
 
address@hidden FIXME: Document ‘unread-comment-events’?  --xfq
 @item exit-prefix
 Like @code{exit}, but add the key that was pressed to
address@hidden
address@hidden (@pxref{Event Input Misc}).
 
 @item act-and-exit
 Answer this question ``yes'', and give up on the entire series of

=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-12-03 08:24:39 +0000
+++ b/lisp/ChangeLog    2013-12-04 00:12:02 +0000
@@ -1,3 +1,8 @@
+2013-12-04  Juri Linkov  <address@hidden>
+
+       * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
+       add-hook and remove-hook for multi-buffer search.  (Bug#16035)
+
 2013-12-03  Tom Regner <address@hidden>  (tiny change)
 
        * notifications.el (notifications-close-notification): Call the

=== modified file 'lisp/isearch.el'
--- a/lisp/isearch.el   2013-10-12 01:10:25 +0000
+++ b/lisp/isearch.el   2013-12-04 00:12:02 +0000
@@ -912,8 +912,8 @@
 
   (isearch-update)
 
-  (add-hook 'pre-command-hook 'isearch-pre-command-hook nil t)
-  (add-hook 'post-command-hook 'isearch-post-command-hook nil t)
+  (add-hook 'pre-command-hook 'isearch-pre-command-hook)
+  (add-hook 'post-command-hook 'isearch-post-command-hook)
   (add-hook 'mouse-leave-buffer-hook 'isearch-done)
   (add-hook 'kbd-macro-termination-hook 'isearch-done)
 
@@ -992,8 +992,8 @@
        (unless (equal (car command-history) command)
          (setq command-history (cons command command-history)))))
 
-  (remove-hook 'pre-command-hook 'isearch-pre-command-hook t)
-  (remove-hook 'post-command-hook 'isearch-post-command-hook t)
+  (remove-hook 'pre-command-hook 'isearch-pre-command-hook)
+  (remove-hook 'post-command-hook 'isearch-post-command-hook)
   (remove-hook 'mouse-leave-buffer-hook 'isearch-done)
   (remove-hook 'kbd-macro-termination-hook 'isearch-done)
   (setq isearch-lazy-highlight-start nil)


reply via email to

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