]> git.eshelyaron.com Git - emacs.git/commitdiff
(calendar-cursor-to-date): Fix search string so it
authorRichard M. Stallman <rms@gnu.org>
Tue, 22 Feb 1994 04:46:12 +0000 (04:46 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 22 Feb 1994 04:46:12 +0000 (04:46 +0000)
correctly moves past a starred date.

lisp/calendar/calendar.el

index 0ab741ea572b83d3e1c2876af5b9378a2210ebc4..e4823e590aebe20db295f6e5170e2c5b59643981 100644 (file)
@@ -1949,7 +1949,7 @@ ERROR is t, otherwise just returns nil."
   (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)))))