1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00

(comint-insert-input): Use `posn-set-point' instead of

`mouse-set-point' because the latter is not fbound when configured
without X.
This commit is contained in:
John Paul Wallington 2005-11-17 23:02:34 +00:00
parent 1617bc07f6
commit f5723ff54e
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2005-11-17 John Paul Wallington <jpw@pobox.com>
* ibuf-ext.el (ibuffer-interactive-filter-by-mode):
Use `posn-set-point' instead of `mouse-set-point' because the
latter is not fbound when configured without X.
* comint.el (comint-insert-input): Likewise.
2005-11-17 Chong Yidong <cyd@stupidchicken.com>
* simple.el (hard-newline): New variable.
@ -563,6 +571,11 @@
* textmodes/org.el (org-export-as-html): Remove bogus (debug) form.
2005-11-07 John Paul Wallington <jpw@gnu.org>
* ibuffer.el (ibuffer): Search iconified frames too when
getting Ibuffer buffer's window.
2005-11-06 Richard M. Stallman <rms@gnu.org>
* progmodes/compile.el (compilation-internal-error-properties):

View File

@ -799,7 +799,7 @@ buffer. The hook `comint-exec-hook' is run after each exec."
;; for events without parameters.
(interactive (list last-input-event))
(let ((pos (point)))
(if event (mouse-set-point event))
(if event (posn-set-point (event-end event)))
(if (not (eq (get-char-property (point) 'field) 'input))
;; No input at POS, fall back to the global definition.
(let* ((keys (this-command-keys))