2 #------------------------------------------------------------------------------
3 # $File: lisp,v 1.23 2009/09/19 16:28:10 christos Exp $
4 # lisp: file(1) magic for lisp programs
6 # various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)
8 # updated by Joerg Jenderek
9 # GRR: This lot is too weak
11 # windows INF files often begin with semicolon and use CRLF as line end
12 # lisp files are mainly created on unix system with LF as line end
13 #>2 search/4096 !\r Lisp/Scheme program text
14 #>2 search/4096 \r Windows INF file
16 0 search/4096 (setq\ Lisp/Scheme program text
18 0 search/4096 (defvar\ Lisp/Scheme program text
20 0 search/4096 (defparam\ Lisp/Scheme program text
22 0 search/4096 (defun\ Lisp/Scheme program text
24 0 search/4096 (autoload\ Lisp/Scheme program text
26 0 search/4096 (custom-set-variables\ Lisp/Scheme program text
29 # Emacs 18 - this is always correct, but not very magical.
30 0 string \012( Emacs v18 byte-compiled Lisp data
31 !:mime application/x-elc
32 # Emacs 19+ - ver. recognition added by Ian Springer
33 # Also applies to XEmacs 19+ .elc files; could tell them apart with regexs
34 # - Chris Chittleborough <cchittleborough@yahoo.com.au>
37 >4 byte <32 Emacs/XEmacs v%d byte-compiled Lisp data
38 !:mime application/x-elc
40 # Files produced by CLISP Common Lisp From: Bruno Haible <haible@ilog.fr>
41 0 string (SYSTEM::VERSION\040' CLISP byte-compiled Lisp program (pre 2004-03-27)
42 0 string (|SYSTEM|::|VERSION|\040' CLISP byte-compiled Lisp program text
44 0 long 0x70768BD2 CLISP memory image data
45 0 long 0xD28B7670 CLISP memory image data, other endian
47 #.com and .bin for MIT scheme
48 0 string \372\372\372\372 MIT scheme (library?)
50 # From: David Allouche <david@allouche.net>
51 0 search/1 \<TeXmacs| TeXmacs document text