From ca1f98efadfc67be50495d12250ced2bbf1268ab Mon Sep 17 00:00:00 2001 From: djcb Date: Mon, 12 Dec 2011 08:25:14 +0200 Subject: [PATCH] * mm-hdrs.el: fix unmarking headers --- toys/mm/mm-hdrs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toys/mm/mm-hdrs.el b/toys/mm/mm-hdrs.el index 99c37b95..804b986a 100644 --- a/toys/mm/mm-hdrs.el +++ b/toys/mm/mm-hdrs.el @@ -496,7 +496,7 @@ The following marks are available, and the corresponding props: ;; unless we're unmarking (remhash docid mm/marks-map) ;; remove possible overlays - (remove-overlays (point) (line-end-position)) + (remove-overlays (line-beginning-position) (line-end-position)) ;; now, let's set a mark (unless we were unmarking) (unless (eql mark 'unmark)