Deleted Added
full compact
lisp (159764) lisp (169962)
1
2#------------------------------------------------------------------------------
3# lisp: file(1) magic for lisp programs
4#
5# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)
6
7# updated by Joerg Jenderek
80 string ;;
9# windows INF files often begin with semicolon and use CRLF as line end
10# lisp files are mainly created on unix system with LF as line end
11>2 search/2048 !\r Lisp/Scheme program text
12>2 search/2048 \r Windows INF file
1
2#------------------------------------------------------------------------------
3# lisp: file(1) magic for lisp programs
4#
5# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)
6
7# updated by Joerg Jenderek
80 string ;;
9# windows INF files often begin with semicolon and use CRLF as line end
10# lisp files are mainly created on unix system with LF as line end
11>2 search/2048 !\r Lisp/Scheme program text
12>2 search/2048 \r Windows INF file
130 string (
14>1 string if\ Lisp/Scheme program text
15>1 string setq\ Lisp/Scheme program text
16>1 string defvar\ Lisp/Scheme program text
17>1 string autoload\ Lisp/Scheme program text
18>1 string custom-set-variables Lisp/Scheme program text
19
13
140 search/256 (if\ Lisp/Scheme program text
150 search/256 (setq\ Lisp/Scheme program text
160 search/256 (defvar\ Lisp/Scheme program text
170 search/256 (defparam\ Lisp/Scheme program text
180 search/256 (defun\ Lisp/Scheme program text
190 search/256 (autoload\ Lisp/Scheme program text
200 search/256 (custom-set-variables\ Lisp/Scheme program text
21
20# Emacs 18 - this is always correct, but not very magical.
210 string \012( Emacs v18 byte-compiled Lisp data
22# Emacs 19+ - ver. recognition added by Ian Springer
23# Also applies to XEmacs 19+ .elc files; could tell them apart if we had regexp
24# support or similar - Chris Chittleborough <cchittleborough@yahoo.com.au>
250 string ;ELC
26>4 byte >19
27>4 byte <32 Emacs/XEmacs v%d byte-compiled Lisp data

--- 15 unchanged lines hidden ---
22# Emacs 18 - this is always correct, but not very magical.
230 string \012( Emacs v18 byte-compiled Lisp data
24# Emacs 19+ - ver. recognition added by Ian Springer
25# Also applies to XEmacs 19+ .elc files; could tell them apart if we had regexp
26# support or similar - Chris Chittleborough <cchittleborough@yahoo.com.au>
270 string ;ELC
28>4 byte >19
29>4 byte <32 Emacs/XEmacs v%d byte-compiled Lisp data

--- 15 unchanged lines hidden ---