Fix note publishing
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
This commit is contained in:
parent
3c52e5c3c1
commit
e30c74b4f5
3 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue