summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2013-07-21 00:21:26 +0200
committerUlrich Müller <ulm@gentoo.org>2013-07-21 00:21:26 +0200
commita62ea099deece42b3e5d3adff95c40636e3f497b (patch)
treeef08b5aee0d080ba86b035eee6386f812857eeb8 /eclass
parentapp-xemacs/efs: Upstream experimental version bump and use EAPI=5 (diff)
downloademacs-a62ea099deece42b3e5d3adff95c40636e3f497b.tar.gz
emacs-a62ea099deece42b3e5d3adff95c40636e3f497b.tar.bz2
emacs-a62ea099deece42b3e5d3adff95c40636e3f497b.zip
elisp-common.eclass: Update a comment.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/elisp-common.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass
index 8f6a826..4decc2c 100644
--- a/eclass/elisp-common.eclass
+++ b/eclass/elisp-common.eclass
@@ -177,9 +177,10 @@ elisp-emacs-version() {
# The following will work for at least versions 18-24.
echo "(princ emacs-version)" >"${T}"/emacs-version.el
version=$(
- # EMACS could be a microemacs variant that doesn't know our
- # options and would hang in interactive mode. Redirecting stdin
- # and unsetting TERM and DISPLAY will make most of them fail.
+ # EMACS could be a microemacs variant that ignores the -batch
+ # option and would therefore hang, waiting for user interaction.
+ # Redirecting stdin and unsetting TERM and DISPLAY will cause
+ # most of them to exit with an error.
unset TERM DISPLAY
${EMACS} ${EMACSFLAGS} -l "${T}"/emacs-version.el </dev/null
)