emacs-devel
[Top][All Lists]
Advanced

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

generic-x


From: Francesco Potorti`
Subject: generic-x
Date: Wed, 21 Nov 2001 13:12:46 +0100

I wrote a patch for generic-x.el to make it highlight the 'source'
lines in .mailrc files, which are recognised by mailabbrev.

The patch follows.  If aproved, I will install it together with a
proper changelog.

I discovered generic-x by reading the NEWS.  I think that it would be
good if it was loaded by default.



--- generic-x.el.~1.13.~        Mon Nov  6 15:52:30 2000
+++ generic-x.el        Wed Nov 21 12:30:49 2001
@@ -1482,12 +1482,15 @@ you must reload generic-x to enable the 
    "if"
    "ignore"
    "set"
+   "source"
    "unset"
    )
   
'(("^\\s-*\\(alias\\|group\\)\\s-+\\([-A-Za-z0-9_]+\\)\\s-+\\([^\n\r#]*\\)\\(#.*\\)?$"
      (2 font-lock-constant-face) (3 font-lock-variable-name-face))
     
("^\\s-*\\(unset\\|set\\|ignore\\)\\s-+\\([-A-Za-z0-9_]+\\)=?\\([^\n\r#]*\\)\\(#.*\\)?$"
-     (2 font-lock-constant-face) (3 font-lock-variable-name-face)))
+     (2 font-lock-constant-face) (3 font-lock-variable-name-face))
+    ("^\\s-*\\(source\\)\\s-+\\([^\n\r#]*\\)\\(#.*\\)?$"
+     (2 font-lock-variable-name-face)))
   (list "\\.mailrc\\'")
   nil
   "Mode for mailrc files.")



reply via email to

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