]> git.eshelyaron.com Git - emacs.git/commitdiff
Add file system types cifs and usbdevfs. Allow special chars in file names.
authorLars Hansen <larsh@soem.dk>
Mon, 6 Feb 2006 10:06:56 +0000 (10:06 +0000)
committerLars Hansen <larsh@soem.dk>
Mon, 6 Feb 2006 10:06:56 +0000 (10:06 +0000)
lisp/ChangeLog
lisp/generic-x.el

index ae98b5f389c853203f5292578a8dd18e56279c33..42ae13bef6cd5cce971b7575fd329fe7a177b402 100644 (file)
@@ -1,3 +1,8 @@
+2006-02-06 Lars Hansen <larsh@soem.dk>
+
+       * generic-x.el (etc-fstab-generic-mode): Add file system types
+       cifs and usbdevfs. Allow special chars in file names.
+
 2006-02-05  Jay Belanger  <belanger@truman.edu>
 
        Update copyright notices of the files in lisp/calc.
index d6f56cfc76c04039c2b84f1295e7330419816dd9..4d4e187146d1847f3a04ef4a859cf713c0d2c481 100644 (file)
@@ -1706,6 +1706,8 @@ like an INI file.  You can add this hook to `find-file-hook'."
     "reiserfs"
     "romfs"
     "smbfs"
+    "cifs"
+    "usbdevfs"
     "sysv"
     "tmpfs"
     "udf"
@@ -1717,7 +1719,7 @@ like an INI file.  You can add this hook to `find-file-hook'."
     "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 @@ like an INI file.  You can add this hook to `find-file-hook'."
    (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)