Commit 20770192 authored by Miles Bader's avatar Miles Bader
Browse files

(comint-get-old-input-default): Reword error message.

parent 1ec321a7
......@@ -1714,7 +1714,7 @@ value of `comint-use-prompt-regexp-instead-of-fields'."
;; Return the contents of the field at the current point.
(let ((pos (field-beginning (point))))
(unless (eq (get-char-property pos 'field) 'input)
(error "Point not in input field"))
(error "Not an input field"))
(field-string pos))))
(defun comint-copy-old-input ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment