Fix note publishing

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:
This commit is contained in:
doty 2018-04-26 07:00:04 -07:00
parent 3c52e5c3c1
commit e30c74b4f5
3 changed files with 1 additions and 1 deletions

View file

@ -180,7 +180,7 @@ This replaces the existing ID, if present, otherwise it adds it."
(let ((in-buffer (or buffer (current-buffer))))
(with-current-buffer in-buffer
(let ((existing-id))
(setq existing-id (fbn--note-id buffer))
(setq existing-id (fbn--note-id in-buffer))
(unless (equal id existing-id)
(if existing-id
(delete-region (line-beginning-position)

Binary file not shown.

Binary file not shown.