aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/comint.el11
2 files changed, 5 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3d6f2e235fa..9e7e5bef7fb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-01-31 Romain Francoise <romain@orebokech.com>
2
3 * comint.el: Delete extra copy of `comint-copy-old-input' added in
4 previous change to this file.
5
12007-01-31 Jason Rumney <jasonr@gnu.org> 62007-01-31 Jason Rumney <jasonr@gnu.org>
2 7
3 * files.el (magic-mode-alist): Use image-mode-maybe rather than 8 * files.el (magic-mode-alist): Use image-mode-maybe rather than
diff --git a/lisp/comint.el b/lisp/comint.el
index 2653728fa4e..eeb3e720d06 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -1920,17 +1920,6 @@ Calls `comint-get-old-input' to get old input."
1920 (goto-char (process-mark process)) 1920 (goto-char (process-mark process))
1921 (insert input)))) 1921 (insert input))))
1922 1922
1923(defun comint-copy-old-input ()
1924 "Insert after prompt old input at point as new input to be edited.
1925Calls `comint-get-old-input' to get old input."
1926 (interactive)
1927 (let ((input (funcall comint-get-old-input))
1928 (process (get-buffer-process (current-buffer))))
1929 (if (not process)
1930 (error "Current buffer has no process")
1931 (goto-char (process-mark process))
1932 (insert input))))
1933
1934(defun comint-skip-prompt () 1923(defun comint-skip-prompt ()
1935 "Skip past the text matching regexp `comint-prompt-regexp'. 1924 "Skip past the text matching regexp `comint-prompt-regexp'.
1936If this takes us past the end of the current line, don't skip at all." 1925If this takes us past the end of the current line, don't skip at all."