diff options
| author | John Paul Wallington | 2005-11-17 22:56:28 +0000 |
|---|---|---|
| committer | John Paul Wallington | 2005-11-17 22:56:28 +0000 |
| commit | 1617bc07f6e199f5e089b348598c3ab1b05e631c (patch) | |
| tree | 91969802edc1eb8afd2822d710ec0e4af375c26e | |
| parent | 225dad8eda6e8b4890ac6d49c4df66317d2d1477 (diff) | |
| download | emacs-1617bc07f6e199f5e089b348598c3ab1b05e631c.tar.gz emacs-1617bc07f6e199f5e089b348598c3ab1b05e631c.zip | |
(ibuffer-interactive-filter-by-mode): Use `posn-set-point' instead of
`mouse-set-point' because the latter isn't fbound when configured without X.
| -rw-r--r-- | lisp/ibuf-ext.el | 2 |
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." | |||
| 257 | "Enable or disable filtering by the major mode at point." | 257 | "Enable or disable filtering by the major mode at point." |
| 258 | (interactive "d") | 258 | (interactive "d") |
| 259 | (if (eventp event-or-point) | 259 | (if (eventp event-or-point) |
| 260 | (mouse-set-point event-or-point) | 260 | (posn-set-point (event-end event-or-point)) |
| 261 | (goto-char event-or-point)) | 261 | (goto-char event-or-point)) |
| 262 | (let ((buf (ibuffer-current-buffer))) | 262 | (let ((buf (ibuffer-current-buffer))) |
| 263 | (if (assq 'mode ibuffer-filtering-qualifiers) | 263 | (if (assq 'mode ibuffer-filtering-qualifiers) |