On Sat, Nov 22, 2008 at 02:01:10PM +1100, Daniel Dalton wrote: > I'm not sure if this is the right place for this, but how can I run a > command at the end of my emacs session? eg. when emacs exits, how do I > make it run a bash command? You could write a script: #!/bin/sh # anything you want done before starting emacs goes here emacs # commands to run after Emacs exits go here Then make sure the script is in your path and run it instead of invoking emacs directly, or in your ~/.bash_profile file, alias emacs=your_script substituting the name of the script in the above line. ----------------------------------------------------------------------------- To unsubscribe from the emacspeak list or change your address on the emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a subject of "unsubscribe" or "help"
If you have questions about this archive or had problems using it, please send mail to:
priestdo@xxxxxxxxxxx No Soliciting!Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998