Questions Tagged With shutdownhttp://linuxexchange.org/tags/shutdown/?type=rssquestions tagged <span class="tag">shutdown</span>enMon, 18 Apr 2011 08:30:14 -0400automatically run an (emacs-)command on startup/shutdown of emacshttp://linuxexchange.org/questions/2365/automatically-run-an-emacs-command-on-startupshutdown-of-emacs<p>I use <a href="http://mobileorg.ncogni.to/">MobileOrg</a> to synchronize my <code>emacs</code> org-files with my mobile. For correct synchronization, mobile-org requires me to run <code>org-mobile-push</code> and <code>org-mobile-pull</code> from within emacs.</p> <p>I can automatically run <code>org-mobile-pull</code> on startup by inserting</p> <pre><code>(org-mobile-pull) </code></pre> <p>into my <code>.emacs</code> file, but how do I automatically run an emacs command when <strong>closing</strong> emacs?</p>JazzMon, 18 Apr 2011 08:30:14 -0400http://linuxexchange.org/questions/2365/automatically-run-an-emacs-command-on-startupshutdown-of-emacsstartupemacsshutdownautomation