summaryrefslogtreecommitdiffstats
path: root/contrib/file/Magdir/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/file/Magdir/lisp')
-rw-r--r--contrib/file/Magdir/lisp14
1 files changed, 12 insertions, 2 deletions
diff --git a/contrib/file/Magdir/lisp b/contrib/file/Magdir/lisp
index 42698c0..c72b06c 100644
--- a/contrib/file/Magdir/lisp
+++ b/contrib/file/Magdir/lisp
@@ -4,8 +4,18 @@
#
# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)
-# This is a guess, but a good one.
-0 string ;; Lisp/Scheme program text
+# updated by Joerg Jenderek
+0 string ;;
+# windows INF files often begin with semicolon and use CRLF as line end
+# lisp files are mainly created on unix system with LF as line end
+>2 search/2048 !\r Lisp/Scheme program text
+>2 search/2048 \r Windows INF file
+0 string (
+>1 string if\ Lisp/Scheme program text
+>1 string setq\ Lisp/Scheme program text
+>1 string defvar\ Lisp/Scheme program text
+>1 string autoload\ Lisp/Scheme program text
+>1 string custom-set-variables Lisp/Scheme program text
# Emacs 18 - this is always correct, but not very magical.
0 string \012( Emacs v18 byte-compiled Lisp data
OpenPOWER on IntegriCloud