fix for unexpected point movement

bug fixed: point moves to previous char when called at whitespace-only line
This commit is contained in:
4ourbit 2013-12-23 14:06:20 +01:00
parent 4e997836c3
commit f18833c78b

View file

@ -113,7 +113,7 @@ Leave point at the beginning of the thing under point"
(cond ((looking-at "^[0-9/.=-]+\\(\\s-+\\*\\)?\\(\\s-+(.+?)\\)?\\s-+")
(goto-char (match-end 0))
'transaction)
((looking-at "^\\s-+\\([*!]\\s-+\\)?[[(]?\\(.\\)")
((looking-at "^\\s-+\\([*!]\\s-+\\)?[[(]?\\([^\\s-]\\)")
(goto-char (match-beginning 2))
'posting)
((looking-at "^\\(sun\\|mon\\|tue\\|wed\\|thu\\|fri\\|sat\\)\\s-+")