emacs-devel
[Top][All Lists]
Advanced

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

occur and a "Special" *Occur* Buffer.


From: David Hansen
Subject: occur and a "Special" *Occur* Buffer.
Date: Fri, 09 Mar 2007 08:12:08 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

Hello,

another one.  Is no one else using special display buffers?  BTW in
this case `t' seems to be the right choice for the optional
`get-buffer-window' argument, but i have to admit that i don't
really understand it ;)

David
*** replace.el  09 Mar 2007 06:07:54 +0100      1.253
--- replace.el  09 Mar 2007 08:09:07 +0100      
***************
*** 844,850 ****
         #'next-single-property-change)
       "No more matches")
      ;; In case the *Occur* buffer is visible in a nonselected window.
!     (set-window-point (get-buffer-window (current-buffer)) (point))
      (occur-mode-goto-occurrence)))
  
  (defface match
--- 844,850 ----
         #'next-single-property-change)
       "No more matches")
      ;; In case the *Occur* buffer is visible in a nonselected window.
!     (set-window-point (get-buffer-window (current-buffer) t) (point))
      (occur-mode-goto-occurrence)))
  
  (defface match

reply via email to

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