Skip to content

Instantly share code, notes, and snippets.

@richleland
Forked from anonymous/check_emacs.sh
Created March 17, 2010 11:59
Show Gist options
  • Select an option

  • Save richleland/335156 to your computer and use it in GitHub Desktop.

Select an option

Save richleland/335156 to your computer and use it in GitHub Desktop.

Revisions

  1. @invalid-email-address Anonymous created this gist Dec 29, 2009.
    3 changes: 3 additions & 0 deletions check_emacs.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    emacs -q --eval '(condition-case err (progn (load "~/.emacs") (kill-emacs 0)) (error (kill-emacs 1)))'

    # Source http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/bed5b2bd8b237f5a?pli=1