mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(auto-execute): Use \' in auto-mode-alist regexps.
This commit is contained in:
parent
dd69dcbc6f
commit
ac6ff3ed72
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@
|
|||
(if (/= (aref pattern 0) ?*)
|
||||
(error "Only patterns starting with * supported in auto-execute"))
|
||||
(setq auto-mode-alist (cons (cons (concat "\\." (substring pattern 1)
|
||||
"$")
|
||||
"\\'")
|
||||
function)
|
||||
auto-mode-alist)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue