Commit 5a1a5fd7 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(calendar-cursor-to-date): Fix search string so it

correctly moves past a starred date.
parent 0aafc975
......@@ -1949,7 +1949,7 @@ ERROR is t, otherwise just returns nil."
(if (and (looking-at "[*0-9]")
(< 2 (count-lines (point-min) (point))))
(re-search-backward "[^0-9]")
(re-search-backward "[^*0-9]")
(forward-char 1)
((day (string-to-int (buffer-substring (point) (+ 3 (point)))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment