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
cfe98f50
Commit
cfe98f50
authored
Oct 15, 2001
by
Gerd Moellmann
Browse files
(set-auto-coding): Fix regexps for local
variables section not to eat newlines.
parent
dbae44c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
lisp/international/mule.el
lisp/international/mule.el
+5
-3
No files found.
lisp/international/mule.el
View file @
cfe98f50
...
...
@@ -1365,15 +1365,17 @@ function by default."
(
re-coding
(
concat
"^"
prefix
"[ \t]*coding[ \t]*:[ \t]*\\([^ \t]+\\)[ \t]*"
;; N.B. without the \n below, the regexp can
;; eat newlines.
"[ \t]*coding[ \t]*:[ \t]*\\([^ \t\n]+\\)[ \t]*"
suffix
"$"
))
(
re-unibyte
(
concat
"^"
prefix
"[ \t]*unibyte[ \t]*:[ \t]*\\([^ \t]+\\)[ \t]*"
"[ \t]*unibyte[ \t]*:[ \t]*\\([^ \t
\n
]+\\)[ \t]*"
suffix
"$"
))
(
re-end
(
concat
"^"
prefix
"[ \t]*
e
nd *:[ \t]*"
suffix
"$"
))
(
concat
"^"
prefix
"[ \t]*
E
nd *:[ \t]*"
suffix
"$"
))
(
pos
(
point
)))
(
re-search-forward
re-end
tail-end
'move
)
(
setq
tail-end
(
point
))
...
...
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