Browse Source

* nroam.el (nroam--insert): Rename let variable

master
Nicolas Petton 1 month ago
parent
commit
857dd4f845
No known key found for this signature in database GPG Key ID: E8BCD7866AFCF978
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      nroam.el

+ 3
- 3
nroam.el View File

@ -185,17 +185,17 @@ Make the region inserted by BODY read-only, and marked with
(defun nroam--insert ()
"Insert nroam sections in the current buffer."
(let ((p (point-max)))
(let ((point (point-max)))
(with-buffer-modified-unmodified
(save-excursion
(goto-char p)
(goto-char point)
(unless (bobp)
(nroam--ensure-empty-line))
(with-nroam-markers
(nroam--do-separated-by-newlines #'funcall nroam-sections))
(when (nroam--sections-inserted-p)
(save-restriction
(narrow-to-region p (point-max))
(narrow-to-region point (point-max))
(org-set-startup-visibility)))))))
(defun nroam--get-backlinks ()


Loading…
Cancel
Save