# HG changeset patch # User Richard M. Stallman # Date 808079897 0 # Node ID 9066b33175e6477f1f63863dce2ac347b9bfec44 # Parent 7a19739bd1816345c8c8176c1ba52f493965c35b Comment change. diff -r 7a19739bd181 -r 9066b33175e6 lisp/progmodes/executable.el --- a/lisp/progmodes/executable.el Thu Aug 10 15:24:09 1995 +0000 +++ b/lisp/progmodes/executable.el Thu Aug 10 18:38:17 1995 +0000 @@ -21,10 +21,13 @@ ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. ;;; Commentary: - -;; Provide or modify interpreter magic number for buffer, and make file -;; executable if it isn't. Support code for the likes of sh-, awk-, perl-, -;; tcl- or makefile-mode. +;; This is support code for the likes of sh-, awk-, perl-, tcl- or +;; makefile-mode. Those mode-setting commands can call the like of +;; `(executable-set-magic "sh")' or `(executable-set-magic "perl" "-f")'. +;; Unless the file name matches `executable-magicless-file-regexp' this will +;; search $PATH if the given interpreter isn't absolute, and then insert a +;; first line like `#! /bin/sh' or `#! /usr/local/bin/perl -f' and the file +;; will be made executable as soon as it's saved if it wasn't. ;; Would someone please explain clearly what this is to be used for? -- rms.