Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6466bb34
Commit
6466bb34
authored
Mar 01, 2002
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(regexp-opt-charset): Adjusted for the
change of map-char-table.
parent
47351009
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
lisp/emacs-lisp/regexp-opt.el
lisp/emacs-lisp/regexp-opt.el
+11
-3
No files found.
lisp/emacs-lisp/regexp-opt.el
View file @
6466bb34
...
...
@@ -258,13 +258,21 @@ so we can use character sets rather than grouping parenthesis."
(
map-char-table
(
lambda
(
c
v
)
(
when
v
(
if
(
=
(
1-
c
)
end
)
(
setq
end
c
)
(
if
(
>
end
(
+
start
2
))
(
if
(
consp
c
)
(
if
(
=
(
1-
(
car
c
))
end
)
(
setq
end
(
cdr
c
))
(
if
(
>
end
(
+
start
2
))
(
setq
charset
(
format
"%s%c-%c"
charset
start
end
))
(
while
(
>=
end
start
)
(
setq
charset
(
format
"%s%c"
charset
start
))
(
incf
start
)))
(
setq
start
(
car
c
)
end
(
cdr
c
)))
(
if
(
=
(
1-
c
)
end
)
(
setq
end
c
)
(
if
(
>
end
(
+
start
2
))
(
setq
charset
(
format
"%s%c-%c"
charset
start
end
))
(
while
(
>=
end
start
)
(
setq
charset
(
format
"%s%c"
charset
start
))
(
incf
start
)))
(
setq
start
c
end
c
))))
(
setq
start
c
end
c
))))
)
charmap
)
(
when
(
>=
end
start
)
(
if
(
>
end
(
+
start
2
))
...
...
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