diff options
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/rx.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el index b3b88c3ce4f..cb6756a7e0f 100644 --- a/lisp/emacs-lisp/rx.el +++ b/lisp/emacs-lisp/rx.el @@ -767,7 +767,7 @@ of all atomic regexps." (unless syntax ;; Try sregex compatibility. (cond - ((character sym) (setq syntax sym)) + ((characterp sym) (setq syntax sym)) ((symbolp sym) (let ((name (symbol-name sym))) (if (= 1 (length name)) |