]> git.eshelyaron.com Git - emacs.git/commitdiff
(ibuffer-interactive-filter-by-mode): Use `posn-set-point' instead of
authorJohn Paul Wallington <jpw@pobox.com>
Thu, 17 Nov 2005 22:56:28 +0000 (22:56 +0000)
committerJohn Paul Wallington <jpw@pobox.com>
Thu, 17 Nov 2005 22:56:28 +0000 (22:56 +0000)
`mouse-set-point' because the latter isn't fbound when configured without X.

lisp/ibuf-ext.el

index 8ab984cd61b16ddf8a1f445249214df774bc6909..4e8f8f61221c27220acfc0eeb25e65bd972243e1 100644 (file)
@@ -257,7 +257,7 @@ With numeric ARG, enable auto-update if and only if ARG is positive."
   "Enable or disable filtering by the major mode at point."
   (interactive "d")
   (if (eventp event-or-point)
-      (mouse-set-point event-or-point)
+      (posn-set-point (event-end event-or-point))
     (goto-char event-or-point))
   (let ((buf (ibuffer-current-buffer)))
     (if (assq 'mode ibuffer-filtering-qualifiers)