diff options
author | Nicolas Petton | 2021-02-25 12:36:17 +0100 |
---|---|---|
committer | Nicolas Petton | 2021-02-25 12:36:17 +0100 |
commit | 857dd4f845298c6c96fd1977c9feb9e314fc83c3 (patch) | |
tree | d8f3345342f7d46c8cb11095aa21a29602aa5a29 | |
parent | 0a80d806fe9279308df2dd4960b95c2a35273ed5 (diff) | |
download | nroam-857dd4f845298c6c96fd1977c9feb9e314fc83c3.tar.gz nroam-857dd4f845298c6c96fd1977c9feb9e314fc83c3.zip |
* nroam.el (nroam--insert): Rename let variable
-rw-r--r-- | nroam.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 () |