From: John Paul Wallington Date: Thu, 17 Nov 2005 23:02:34 +0000 (+0000) Subject: (comint-insert-input): Use `posn-set-point' instead of X-Git-Tag: emacs-pretest-22.0.90~5807 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f5723ff54e2bc69dfa025f65d042ee2c485500e3;p=emacs.git (comint-insert-input): Use `posn-set-point' instead of `mouse-set-point' because the latter is not fbound when configured without X. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 799b426e11b..ebcb76d472f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2005-11-17 John Paul Wallington + + * 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 * 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 + + * ibuffer.el (ibuffer): Search iconified frames too when + getting Ibuffer buffer's window. + 2005-11-06 Richard M. Stallman * progmodes/compile.el (compilation-internal-error-properties): diff --git a/lisp/comint.el b/lisp/comint.el index 3d9da2b8ea2..6676e836735 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -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))