changeset 112038:ad2a8fce0d7a

* lisp/emacs-lisp/rx.el (rx-syntax): Fix typo.
author Andreas Schwab <schwab@linux-m68k.org>
date Thu, 30 Dec 2010 16:15:34 +0100
parents 5879f36f423b
children 2fef20daac2b
files lisp/ChangeLog lisp/emacs-lisp/rx.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Dec 30 15:58:32 2010 +0100
+++ b/lisp/ChangeLog	Thu Dec 30 16:15:34 2010 +0100
@@ -1,3 +1,7 @@
+2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* emacs-lisp/rx.el (rx-syntax): Fix typo.
+
 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
 
 	* doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
--- a/lisp/emacs-lisp/rx.el	Thu Dec 30 15:58:32 2010 +0100
+++ b/lisp/emacs-lisp/rx.el	Thu Dec 30 16:15:34 2010 +0100
@@ -767,7 +767,7 @@
     (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))