Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a9fb0b79
Commit
a9fb0b79
authored
Nov 19, 1999
by
Stefan Monnier
Browse files
(auto-mode-alist): add patterns for diff-mode.
parent
d7a0208b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/files.el
lisp/files.el
+1
-0
No files found.
lisp/ChangeLog
View file @
a9fb0b79
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.
...
...
lisp/files.el
View file @
a9fb0b79
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment