Skip to content

Instantly share code, notes, and snippets.

@rlb3
Last active December 15, 2015 09:18
Show Gist options
  • Select an option

  • Save rlb3/5236954 to your computer and use it in GitHub Desktop.

Select an option

Save rlb3/5236954 to your computer and use it in GitHub Desktop.
(defadvice executable-make-buffer-file-executable-if-script-p (around executable-make-buffer-file-executable-if-script-p-around)
"Tests should not be executable."
(unless (string= ".t" (file-name-extension (buffer-name) t))
ad-do-it))
(ad-activate 'executable-make-buffer-file-executable-if-script-p)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment