aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastien Guerry2012-08-22 18:58:14 +0200
committerBastien Guerry2012-08-22 18:58:14 +0200
commit0fcd3d9fa4cdee0a9a067f74c75b9e053502e294 (patch)
tree33b8e8cc037d4700acb7f3c7355f6782100100b4
parentff687885ea32bf7016618681724473745fb9ea40 (diff)
downloademacs-0fcd3d9fa4cdee0a9a067f74c75b9e053502e294.tar.gz
emacs-0fcd3d9fa4cdee0a9a067f74c75b9e053502e294.zip
Set `executable-prefix' to "#!" instead of "#! ".
See http://www.in-ulm.de/~mascheck/various/shebang/#details for details on why the blank space is never needed. Thanks to Leo for the patch.
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/progmodes/executable.el2
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f8ed5ce15fd..a5464d542a2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12012-08-22 Bastien Guerry <bzg@altern.org>
2
3 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5 gives details on why the space is never needed.
6
12012-08-22 Martin Rudalics <rudalics@gmx.at> 72012-08-22 Martin Rudalics <rudalics@gmx.at>
2 8
3 * window.el (walk-window-tree, window-with-parameter): New 9 * window.el (walk-window-tree, window-with-parameter): New
@@ -400,7 +406,7 @@
400 406
4012012-08-13 Bastien Guerry <bzg@gnu.org> 4072012-08-13 Bastien Guerry <bzg@gnu.org>
402 408
403 * window.el (special-display-popup-frame): Small docstring 409 * window.el (special-display-popup-frame): Minor docstring
404 enhancement. (Bug#12172) 410 enhancement. (Bug#12172)
405 411
4062012-08-13 Andreas Schwab <schwab@linux-m68k.org> 4122012-08-13 Andreas Schwab <schwab@linux-m68k.org>
diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el
index e5142571972..981a075b4f0 100644
--- a/lisp/progmodes/executable.el
+++ b/lisp/progmodes/executable.el
@@ -84,7 +84,7 @@ When this is `function', only ask when called non-interactively."
84 :group 'executable) 84 :group 'executable)
85 85
86 86
87(defcustom executable-prefix "#! " 87(defcustom executable-prefix "#!"
88 "Interpreter magic number prefix inserted when there was no magic number." 88 "Interpreter magic number prefix inserted when there was no magic number."
89 :type 'string 89 :type 'string
90 :group 'executable) 90 :group 'executable)