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))))
|
(let ((in-buffer (or buffer (current-buffer))))
|
||||||
(with-current-buffer in-buffer
|
(with-current-buffer in-buffer
|
||||||
(let ((existing-id))
|
(let ((existing-id))
|
||||||
(setq existing-id (fbn--note-id buffer))
|
(setq existing-id (fbn--note-id in-buffer))
|
||||||
(unless (equal id existing-id)
|
(unless (equal id existing-id)
|
||||||
(if existing-id
|
(if existing-id
|
||||||
(delete-region (line-beginning-position)
|
(delete-region (line-beginning-position)
|
||||||
|
|
|
||||||
Binary file not shown.
BIN
site-lisp/sd.elc
BIN
site-lisp/sd.elc
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue