diff options
author | Ulrich Müller <ulm@gentoo.org> | 2010-09-19 09:54:15 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2010-09-19 09:54:15 +0000 |
commit | 79b0c4807ba55c926e37c51033dd99e72629c736 (patch) | |
tree | e75186b23dbc9a240eeaffb953a1b19c1e3df902 | |
parent | Export some variables before calling the stop script, bug 337829. (diff) | |
download | emacs-tools-79b0c4807ba55c926e37c51033dd99e72629c736.tar.gz emacs-tools-79b0c4807ba55c926e37c51033dd99e72629c736.tar.bz2 emacs-tools-79b0c4807ba55c926e37c51033dd99e72629c736.zip |
Add a comment.
svn path=/emacs-daemon/; revision=1565
-rw-r--r-- | emacs-stop.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs-stop.sh b/emacs-stop.sh index 98adb72..985624e 100644 --- a/emacs-stop.sh +++ b/emacs-stop.sh @@ -3,6 +3,8 @@ # Distributed under the terms of the GNU General Public License v2 or later # $Id$ +# Lisp expression to be evaluated when stopping Emacs. +# You can add additional commands here, or to kill-emacs-hook. EMACS_LISP_EXPR="(kill-emacs)" su "${USER}" -c "emacsclient --eval \"${EMACS_LISP_EXPR}\"" \ |