Mercurial > emacs
changeset 26509:26958042b58d
(auto-mode-alist): add patterns for diff-mode.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 19 Nov 1999 20:14:12 +0000 |
parents | 8548cb8ad6e2 |
children | 6866d2a9a421 |
files | lisp/ChangeLog lisp/files.el |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Fri Nov 19 16:05:04 1999 +0000 +++ b/lisp/ChangeLog Fri Nov 19 20:14:12 1999 +0000 @@ -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.
--- a/lisp/files.el Fri Nov 19 16:05:04 1999 +0000 +++ b/lisp/files.el Fri Nov 19 20:14:12 1999 +0000 @@ -1382,6 +1382,7 @@ ("\\.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.