* mm-hdrs.el: fix unmarking headers

This commit is contained in:
djcb 2011-12-12 08:25:14 +02:00
parent 27ab35e5fc
commit ca1f98efad
1 changed files with 1 additions and 1 deletions

View File

@ -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)