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
dfd8bf47
Commit
dfd8bf47
authored
Jun 13, 2002
by
Andreas Schwab
Browse files
(auto-mode-alist): Move entry for ".in" to the end.
parent
fcc6fa51
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/files.el
lisp/files.el
+3
-3
No files found.
lisp/ChangeLog
View file @
dfd8bf47
2002-06-13 Andreas Schwab <schwab@suse.de>
* files.el (auto-mode-alist): Move entry for ".in" to the end.
2002-06-13 Miles Bader <miles@gnu.org>
* comint.el (comint-mode): Don't set `font-lock-defaults'.
...
...
lisp/files.el
View file @
dfd8bf47
...
...
@@ -1460,8 +1460,7 @@ in that case, this function acts as if `enable-local-variables' were t."
(
mapc
(
lambda
(
elt
)
(
cons
(
purecopy
(
car
elt
))
(
cdr
elt
)))
'
((
"\\.in\\'"
nil
t
)
(
"\\.te?xt\\'"
.
text-mode
)
'
((
"\\.te?xt\\'"
.
text-mode
)
(
"\\.c\\'"
.
c-mode
)
(
"\\.h\\'"
.
c-mode
)
(
"\\.tex\\'"
.
tex-mode
)
...
...
@@ -1595,7 +1594,8 @@ in that case, this function acts as if `enable-local-variables' were t."
;; for the sake of ChangeLog.1, etc.
;; and after the .scm.[0-9] and CVS' <file>.<rev> patterns too.
(
"\\.[1-9]\\'"
.
nroff-mode
)
(
"\\.g\\'"
.
antlr-mode
)))
(
"\\.g\\'"
.
antlr-mode
)
(
"\\.in\\'"
nil
t
)))
"Alist of filename patterns vs corresponding major mode functions.
Each element looks like (REGEXP . FUNCTION) or (REGEXP FUNCTION NON-NIL).
\(NON-NIL stands for anything that is not nil; the value does not matter.)
...
...
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