(auto-mode-alist): add patterns for diff-mode.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 19 Nov 1999 20:14:12 +0000 (20:14 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 19 Nov 1999 20:14:12 +0000 (20:14 +0000)
lisp/ChangeLog
lisp/files.el

index 80b23ef..8079b44 100644 (file)
@@ -1,5 +1,7 @@
 1999-11-19  Stefan Monnier  <monnier@cs.yale.edu>
 
+       * files.el (auto-mode-alist): add patterns for diff-mode.
+
        * complete.el (PC-do-complete-and-exit): use minibuffer-prompt-end to
        detect an empty prompt.
 
index 3c3aeed..540fc7a 100644 (file)
@@ -1382,6 +1382,7 @@ in that case, this function acts as if `enable-local-variables' were t."
     ("\\.as2$" . snmpv2-mode)
     ("\\.mi2$" . snmpv2-mode)
     ("\\.sm2$" . snmpv2-mode)
+    ("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode)
     ("\\.[eE]?[pP][sS]$" . ps-mode))
   "\
 Alist of filename patterns vs corresponding major mode functions.