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
d5637fa5
Commit
d5637fa5
authored
Aug 01, 1998
by
Richard M. Stallman
Browse files
(auto-mode-alist): Escape dots in some regexps.
(auto-mode-alist): Fix previous change in sh-script regexps.
parent
7cda860e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lisp/files.el
lisp/files.el
+5
-5
No files found.
lisp/files.el
View file @
d5637fa5
...
...
@@ -1202,7 +1202,7 @@ run `normal-mode' explicitly."
(
"\\.m\\'"
.
objc-mode
)
(
"\\.java\\'"
.
java-mode
)
(
"\\.mk\\'"
.
makefile-mode
)
(
"\\(M\\|m\\|GNUm\\)akefile\\(.in\\)?\\'"
.
makefile-mode
)
(
"\\(M\\|m\\|GNUm\\)akefile\\(
\\
.in\\)?\\'"
.
makefile-mode
)
(
"\\.am\\'"
.
makefile-mode
)
;For Automake.
;;; Less common extensions come here
;;; so more common ones above are found faster.
...
...
@@ -1212,12 +1212,12 @@ run `normal-mode' explicitly."
(
"\\.S\\'"
.
asm-mode
)
(
"\\.asm\\'"
.
asm-mode
)
(
"ChangeLog\\'"
.
change-log-mode
)
(
"change.log\\'"
.
change-log-mode
)
(
"change
\\
.log\\'"
.
change-log-mode
)
(
"changelo\\'"
.
change-log-mode
)
(
"ChangeLog.[0-9]+\\'"
.
change-log-mode
)
(
"ChangeLog
\\
.[0-9]+\\'"
.
change-log-mode
)
;; for MSDOS and MS-Windows (which are case-insensitive)
(
"changelog\\'"
.
change-log-mode
)
(
"changelog.[0-9]+\\'"
.
change-log-mode
)
(
"changelog
\\
.[0-9]+\\'"
.
change-log-mode
)
(
"\\$CHANGE_LOG\\$\\.TXT"
.
change-log-mode
)
(
"\\.scm\\.[0-9]*\\'"
.
scheme-mode
)
(
"\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'"
.
sh-mode
)
...
...
@@ -1278,7 +1278,7 @@ run `normal-mode' explicitly."
;; .emacs following a directory delimiter
;; in Unix, MSDOG or VMS syntax.
(
"[]>:/\\]\\..*emacs\\'"
.
emacs-lisp-mode
)
(
"\\`.*emacs\\'"
.
emacs-lisp-mode
)
(
"\\`
\\.
.*emacs\\'"
.
emacs-lisp-mode
)
;; _emacs following a directory delimiter
;; in MsDos syntax
(
"[:/]_emacs\\'"
.
emacs-lisp-mode
)
...
...
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