summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2010-12-30 16:15:34 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2010-12-30 16:15:34 +0100
commit8ee2dc5cffd4b79007058f28dbf8fb10f02e462a (patch)
tree05ca353d5ffc1da0b3b02619e52cfab625247494 /lisp/emacs-lisp
parentf9e68477a2d70c3d371bffb7c9f9f080468ca8ce (diff)
downloademacs-8ee2dc5cffd4b79007058f28dbf8fb10f02e462a.tar.gz
* lisp/emacs-lisp/rx.el (rx-syntax): Fix typo.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/rx.el2
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))