mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 19:10:37 -08:00
(generic-mode-set-comments): Use characterp.
This commit is contained in:
parent
fbd12f5147
commit
93fd8eebcc
1 changed files with 2 additions and 2 deletions
|
|
@ -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 (characterp start) (setq start (char-to-string start)))
|
||||
(when (characterp end) (setq end (char-to-string end)))
|
||||
|
||||
;; Setup the vars for `comment-region'
|
||||
(if comment-start
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue