emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/lread.c


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/src/lread.c
Date: Sun, 01 Sep 2002 09:33:08 -0400

Index: emacs/src/lread.c
diff -c emacs/src/lread.c:1.296 emacs/src/lread.c:1.297
*** emacs/src/lread.c:1.296     Fri Aug 23 23:17:18 2002
--- emacs/src/lread.c   Sun Sep  1 09:33:08 2002
***************
*** 2098,2103 ****
--- 2098,2111 ----
  
          goto retry;
        }
+       if (c == '!')
+       {
+         /* #! appears at the beginning of an executable file.
+            Skip the first line.  */
+         while (c != '\n')
+           c = READCHAR;
+         goto retry;
+       }
        if (c == '$')
        return Vload_file_name;
        if (c == '\'')




reply via email to

[Prev in Thread] Current Thread [Next in Thread]