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
7af59a4c
Commit
7af59a4c
authored
Jul 23, 1998
by
Richard M. Stallman
Browse files
(auto-mode-alist): Recognize shell profiles without dirname.
parent
ab6ecce2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/files.el
lisp/files.el
+3
-3
No files found.
lisp/files.el
View file @
7af59a4c
...
...
@@ -1225,9 +1225,9 @@ run `normal-mode' explicitly."
(
"\\$CHANGE_LOG\\$\\.TXT"
.
change-log-mode
)
(
"\\.scm\\.[0-9]*\\'"
.
scheme-mode
)
(
"\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'"
.
sh-mode
)
(
"
/
\\.\\(bash_profile\\|z?login\\|bash_login\\|z?logout\\)\\'"
.
sh-mode
)
(
"
/
\\.\\(bash_logout\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'"
.
sh-mode
)
(
"
/
\\.\\([kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'"
.
sh-mode
)
(
"
\\(/\\|\\`)
\\.\\(bash_profile\\|z?login\\|bash_login\\|z?logout\\)\\'"
.
sh-mode
)
(
"
\\(/\\|\\`)
\\.\\(bash_logout\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'"
.
sh-mode
)
(
"
\\(/\\|\\`)
\\.\\([kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'"
.
sh-mode
)
;;; The following should come after the ChangeLog pattern
;;; for the sake of ChangeLog.1, etc.
;;; and after the .scm.[0-9] pattern too.
...
...
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