emacs-devel
[Top][All Lists]
Advanced

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

mouse-1-click-in-non-selected-windows


From: Sean O'Rourke
Subject: mouse-1-click-in-non-selected-windows
Date: Wed, 28 Feb 2007 14:03:09 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (darwin)

I believe this change is necessary to make
mouse-1-click-in-non-selected-windows consistent with
mouse-1-click-follows-link when the latter is set to nil (which
is the case later around line 919).

/s

Index: mouse.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/mouse.el,v
retrieving revision 1.312
diff -u -r1.312 mouse.el
--- mouse.el    26 Feb 2007 10:11:34 -0000      1.312
+++ mouse.el    28 Feb 2007 22:00:05 -0000
@@ -834,7 +834,8 @@
 at the same position."
   (let ((action
         (and (or (not (consp pos))
-                 mouse-1-click-in-non-selected-windows
+                  (and mouse-1-click-follows-link
+                       mouse-1-click-in-non-selected-windows)
                  (eq (selected-window) (posn-window pos)))
              (or (mouse-posn-property pos 'follow-link)
                  (key-binding [follow-link] nil t pos)))))





reply via email to

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