emacs-devel
[Top][All Lists]
Advanced

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

reftex-mouse-view-crossref: change point?


From: David Reitter
Subject: reftex-mouse-view-crossref: change point?
Date: Sat, 15 Dec 2007 12:08:12 +0000

Should functions like `reftex-mouse-view-crossref' really change the point? This is isn't documented to do so, and in other GUIs, right (or shift- clicking) somewhere doesn't set the point either.


*** lisp/textmodes/reftex-dcr.el        25 Jul 2007 05:22:08 +0100      1.28.2.1
--- lisp/textmodes/reftex-dcr.el        15 Dec 2007 12:05:06 +0000      
***************
*** 231,238 ****
  If there is no such macro at point, search forward to find one.
With argument, actually select the window showing the cross reference."
    (interactive "e")
!   (mouse-set-point ev)
!   (reftex-view-crossref current-prefix-arg))

  (defun reftex-view-crossref-when-idle ()
    ;; Display info about crossref at point in echo area or a window.
--- 231,239 ----
  If there is no such macro at point, search forward to find one.
With argument, actually select the window showing the cross reference."
    (interactive "e")
!   (save-excursion
!     (mouse-set-point ev)
!     (reftex-view-crossref current-prefix-arg)))

  (defun reftex-view-crossref-when-idle ()
    ;; Display info about crossref at point in echo area or a window.





reply via email to

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