(auto-mode-alist): add patterns for diff-mode.

This commit is contained in:
Stefan Monnier
1999-11-19 20:14:12 +00:00
parent d7a0208b27
commit a9fb0b79ab
2 changed files with 3 additions and 0 deletions

View 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.

View 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.