doc/lispref/emacs-lisp-intro.texi (count-words-in-defun): Fix bug#10544.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 19 Jan 2012 15:04:24 +0000 (16:04 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 19 Jan 2012 15:04:24 +0000 (16:04 +0100)
doc/lispintro/ChangeLog
doc/lispintro/emacs-lisp-intro.texi

index 30ea2be..2a1d018 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-19  Juanma Barranquero  <lekktu@gmail.com>
+
+       * emacs-lisp-intro.texi (count-words-in-defun):
+       Add missing parenthesis (bug#10544).
+
 2012-01-17  Glenn Morris  <rgm@gnu.org>
 
        * emacs-lisp-intro.texi (re-search-forward): Fix typo.
index be49c52..d70ff9f 100644 (file)
@@ -15012,7 +15012,7 @@ expression for this (@pxref{Syntax}), so the loop is straightforward:
 @group
 (while (and (< (point) end)
             (re-search-forward
-             "\\(\\w\\|\\s_\\)+[^ \t\n]*[ \t\n]*" end t)
+             "\\(\\w\\|\\s_\\)+[^ \t\n]*[ \t\n]*" end t))
   (setq count (1+ count)))
 @end group
 @end smallexample