summaryrefslogtreecommitdiff
path: root/lisp/ibuf-ext.el
diff options
context:
space:
mode:
authorJohn Paul Wallington <jpw@pobox.com>2005-11-17 22:56:28 +0000
committerJohn Paul Wallington <jpw@pobox.com>2005-11-17 22:56:28 +0000
commit1617bc07f6e199f5e089b348598c3ab1b05e631c (patch)
tree91969802edc1eb8afd2822d710ec0e4af375c26e /lisp/ibuf-ext.el
parent225dad8eda6e8b4890ac6d49c4df66317d2d1477 (diff)
downloademacs-1617bc07f6e199f5e089b348598c3ab1b05e631c.tar.gz
(ibuffer-interactive-filter-by-mode): Use `posn-set-point' instead of
`mouse-set-point' because the latter isn't fbound when configured without X.
Diffstat (limited to 'lisp/ibuf-ext.el')
-rw-r--r--lisp/ibuf-ext.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el
index 8ab984cd61b..4e8f8f61221 100644
--- a/lisp/ibuf-ext.el
+++ b/lisp/ibuf-ext.el
@@ -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)