changeset 6025:6741685c0bb7

(calendar-cursor-to-date): Fix search string so it correctly moves past a starred date.
author Richard M. Stallman <rms@gnu.org>
date Tue, 22 Feb 1994 04:46:12 +0000
parents 0aa565fdb1b9
children 45b117ac2dbc
files lisp/calendar/calendar.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/calendar.el	Tue Feb 22 00:45:38 1994 +0000
+++ b/lisp/calendar/calendar.el	Tue Feb 22 04:46:12 1994 +0000
@@ -1949,7 +1949,7 @@
   (if (and (looking-at "[*0-9]")
            (< 2 (count-lines (point-min) (point))))
       (save-excursion
-        (re-search-backward "[^0-9]")
+        (re-search-backward "[^*0-9]")
         (forward-char 1)
         (let*
             ((day (string-to-int (buffer-substring (point) (+ 3 (point)))))