From 8ee2dc5cffd4b79007058f28dbf8fb10f02e462a Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 30 Dec 2010 16:15:34 +0100 Subject: [PATCH] * lisp/emacs-lisp/rx.el (rx-syntax): Fix typo. --- lisp/ChangeLog | 4 ++++ lisp/emacs-lisp/rx.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e241a65ff50..7081edf4100 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-12-30 Andreas Schwab + + * emacs-lisp/rx.el (rx-syntax): Fix typo. + 2010-12-30 Tassilo Horn * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all 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)) -- 2.39.2