Mercurial > emacs
changeset 66970:d94285b2b933
(ibuffer-interactive-filter-by-mode): Use `posn-set-point' instead of
`mouse-set-point' because the latter isn't fbound when configured without X.
author | John Paul Wallington <jpw@pobox.com> |
---|---|
date | Thu, 17 Nov 2005 22:56:28 +0000 |
parents | 09d4982a93b9 |
children | 537e6758bfe5 |
files | lisp/ibuf-ext.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ibuf-ext.el Thu Nov 17 19:47:04 2005 +0000 +++ b/lisp/ibuf-ext.el Thu Nov 17 22:56:28 2005 +0000 @@ -257,7 +257,7 @@ "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)