From: John Paul Wallington Date: Thu, 17 Nov 2005 22:56:28 +0000 (+0000) Subject: (ibuffer-interactive-filter-by-mode): Use `posn-set-point' instead of X-Git-Tag: emacs-pretest-22.0.90~5808 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1617bc07f6e199f5e089b348598c3ab1b05e631c;p=emacs.git (ibuffer-interactive-filter-by-mode): Use `posn-set-point' instead of `mouse-set-point' because the latter isn't fbound when configured without X. --- 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)