emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/comint.el


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/comint.el
Date: Wed, 10 May 2006 02:07:14 +0000

Index: emacs/lisp/comint.el
diff -u emacs/lisp/comint.el:1.342 emacs/lisp/comint.el:1.343
--- emacs/lisp/comint.el:1.342  Wed May 10 01:58:37 2006
+++ emacs/lisp/comint.el        Wed May 10 02:07:12 2006
@@ -817,9 +817,7 @@
          (let* ((keys (this-command-keys))
                 (last-key (and (vectorp keys) (aref keys (1- (length keys)))))
                 (fun (and last-key (lookup-key global-map (vector last-key)))))
-           (goto-char pos)
            (and fun (call-interactively fun)))
-       (setq pos (point))
        ;; There's previous input at POS, insert it at the end of the buffer.
        (goto-char (point-max))
        ;; First delete any old unsent input at the end
@@ -829,6 +827,7 @@
         (point))
        ;; Insert the input at point
        (insert (field-string-no-properties pos))))))
+
 
 ;; Input history processing in a buffer
 ;; ===========================================================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]