Clarify that ansi-term' is almost the same as term' (Bug#18106)

* lisp/term.el (ansi-term): Clarify that it's almost the same as `term'.
This commit is contained in:
Noam Postavsky 2018-01-28 20:17:43 -05:00
parent f706c59093
commit 732d1b9383

View file

@ -4255,7 +4255,9 @@ the process. Any more args are arguments to PROGRAM."
;;;###autoload
(defun ansi-term (program &optional new-buffer-name)
"Start a terminal-emulator in a new buffer."
"Start a terminal-emulator in a new buffer.
This is almost the same as `term' apart from always creating a new buffer,
and `C-x' being marked as a `term-escape-char'. "
(interactive (list (read-from-minibuffer "Run program: "
(or explicit-shell-file-name
(getenv "ESHELL")