HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbd12f5
)
(generic-mode-set-comments): Use characterp.
author
Dave Love
<fx@gnu.org>
Wed, 10 Sep 2003 17:53:26 +0000
(17:53 +0000)
committer
Dave Love
<fx@gnu.org>
Wed, 10 Sep 2003 17:53:26 +0000
(17:53 +0000)
lisp/generic.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/generic.el
b/lisp/generic.el
index
7f20513
..
8088591
100644
(file)
--- a/
lisp/generic.el
+++ b/
lisp/generic.el
@@
-297,8
+297,8
@@
Some generic modes are defined in `generic-x.el'."
(when (consp start)
(setq end (or (cdr start) end))
(setq start (car start)))
- (when (char
-valid-
p start) (setq start (char-to-string start)))
- (when (char
-valid-
p end) (setq end (char-to-string end)))
+ (when (char
acter
p start) (setq start (char-to-string start)))
+ (when (char
acter
p end) (setq end (char-to-string end)))
;; Setup the vars for `comment-region'
(if comment-start