diff lisp/generic-x.el @ 68644:88d2d7964574

Add file system types cifs and usbdevfs. Allow special chars in file names.
author Lars Hansen <larsh@soem.dk>
date Mon, 06 Feb 2006 10:01:23 +0000
parents 41bb365f41c4
children 3bd95f4f2941
line wrap: on
line diff
--- a/lisp/generic-x.el	Mon Feb 06 07:52:38 2006 +0000
+++ b/lisp/generic-x.el	Mon Feb 06 10:01:23 2006 +0000
@@ -1706,6 +1706,8 @@
     "reiserfs"
     "romfs"
     "smbfs"
+    "cifs"
+    "usbdevfs"
     "sysv"
     "tmpfs"
     "udf"
@@ -1717,7 +1719,7 @@
     "swap"
     "auto"
     "ignore")
-  '(("^\\([/-A-Za-z0-9_]+\\)\\s-+\\([/-A-Za-z0-9_]+\\)"
+  '(("^\\([^# \t]+\\)\\s-+\\([^# \t]+\\)"
      (1 font-lock-type-face t)
      (2 font-lock-variable-name-face t)))
   '("/etc/[v]*fstab\\'")
@@ -1725,7 +1727,7 @@
    (function
     (lambda ()
       (setq imenu-generic-expression
-	    '((nil "^\\([/-A-Za-z0-9_]+\\)\\s-+" 1))))))))
+	    '((nil "^\\([^# \t]+\\)\\s-+" 1))))))))
 
 ;; From Jacques Duthen <jacques.duthen@sncf.fr>
 (when (memq 'show-tabs-generic-mode generic-extras-enable-list)