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
d318fcf4
Commit
d318fcf4
authored
Aug 01, 1999
by
Eli Zaretskii
Browse files
(set-auto-coding): Allow whitespace before
and after the "variable: value" pair.
parent
116f0564
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
lisp/international/mule.el
lisp/international/mule.el
+12
-10
No files found.
lisp/international/mule.el
View file @
d318fcf4
...
...
@@ -989,16 +989,18 @@ function by default."
;; in its line.
(
let*
((
prefix
(
regexp-quote
(
match-string
1
)))
(
suffix
(
regexp-quote
(
match-string
2
)))
(
re-coding
(
concat
"^"
prefix
"coding[ \t]*:[ \t]*\\([^ \t]+\\)[ \t]*"
suffix
"$"
))
(
re-unibyte
(
concat
"^"
prefix
"unibyte[ \t]*:[ \t]*\\([^ \t]+\\)[ \t]*"
suffix
"$"
))
(
re-end
(
concat
"^"
prefix
"end *:[ \t]*"
suffix
"$"
))
(
re-coding
(
concat
"^"
prefix
"[ \t]*coding[ \t]*:[ \t]*\\([^ \t]+\\)[ \t]*"
suffix
"$"
))
(
re-unibyte
(
concat
"^"
prefix
"[ \t]*unibyte[ \t]*:[ \t]*\\([^ \t]+\\)[ \t]*"
suffix
"$"
))
(
re-end
(
concat
"^"
prefix
"[ \t]*end *:[ \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