summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2022-07-22 10:14:45 +0200
committerRobert Pluim <rpluim@gmail.com>2022-07-22 10:14:45 +0200
commitb9ac8c29aec90b31b044137e1e056daacd8fa1f2 (patch)
treed037b74033fd637d4c7b0ab8319a42fdd6010a05
parent0b4c81a1520aa126b1eab335e3601808c611a293 (diff)
downloademacs-b9ac8c29aec90b31b044137e1e056daacd8fa1f2.tar.gz
Improve terminal-live-p docstring
* src/terminal.c (Fterminal_live_p): Explain what happens when the argument is nil.
-rw-r--r--src/terminal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 3674eccdbb7..39ba3925b72 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -421,7 +421,8 @@ The terminal device is represented by its integer identifier. */)
DEFUN ("terminal-live-p", Fterminal_live_p, Sterminal_live_p, 1, 1, 0,
doc: /* Return non-nil if OBJECT is a terminal which has not been deleted.
-Value is nil if OBJECT is not a live display terminal.
+Value is nil if OBJECT is not a live display terminal. Uses the
+terminal of the currently selected frame if OBJECT is nil.
If object is a live display terminal, the return value indicates what
sort of output terminal it uses. See the documentation of `framep' for
possible return values. */)