+2007-01-31 Romain Francoise <romain@orebokech.com>
+
+ * comint.el: Delete extra copy of `comint-copy-old-input' added in
+ previous change to this file.
+
2007-01-31 Jason Rumney <jasonr@gnu.org>
* files.el (magic-mode-alist): Use image-mode-maybe rather than
(goto-char (process-mark process))
(insert input))))
-(defun comint-copy-old-input ()
- "Insert after prompt old input at point as new input to be edited.
-Calls `comint-get-old-input' to get old input."
- (interactive)
- (let ((input (funcall comint-get-old-input))
- (process (get-buffer-process (current-buffer))))
- (if (not process)
- (error "Current buffer has no process")
- (goto-char (process-mark process))
- (insert input))))
-
(defun comint-skip-prompt ()
"Skip past the text matching regexp `comint-prompt-regexp'.
If this takes us past the end of the current line, don't skip at all."