From 0fcd3d9fa4cdee0a9a067f74c75b9e053502e294 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Wed, 22 Aug 2012 18:58:14 +0200 Subject: [PATCH] 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. --- lisp/ChangeLog | 8 +++++++- lisp/progmodes/executable.el | 2 +- 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 @@ +2012-08-22 Bastien Guerry + + * progmodes/executable.el (executable-prefix): Set to "#!" instead + of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details + gives details on why the space is never needed. + 2012-08-22 Martin Rudalics * window.el (walk-window-tree, window-with-parameter): New @@ -400,7 +406,7 @@ 2012-08-13 Bastien Guerry - * window.el (special-display-popup-frame): Small docstring + * window.el (special-display-popup-frame): Minor docstring enhancement. (Bug#12172) 2012-08-13 Andreas Schwab 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." :group 'executable) -(defcustom executable-prefix "#! " +(defcustom executable-prefix "#!" "Interpreter magic number prefix inserted when there was no magic number." :type 'string :group 'executable) -- 2.39.2