summaryrefslogtreecommitdiff
path: root/lisp/term.el
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2018-01-28 20:17:43 -0500
committerNoam Postavsky <npostavs@gmail.com>2018-01-30 22:14:03 -0500
commit732d1b9383a9381896df12a2762991c3ed68b025 (patch)
tree57d56d5b376a6ce17788b676a72b9d6fd4a94478 /lisp/term.el
parentf706c59093645a6306dd907833d597884e69c0ac (diff)
downloademacs-732d1b9383a9381896df12a2762991c3ed68b025.tar.gz
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'.
Diffstat (limited to 'lisp/term.el')
-rw-r--r--lisp/term.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/term.el b/lisp/term.el
index 078a4baff59..3970e93cf16 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -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")