From 857dd4f845298c6c96fd1977c9feb9e314fc83c3 Mon Sep 17 00:00:00 2001 From: Nicolas Petton Date: Thu, 25 Feb 2021 12:36:17 +0100 Subject: * nroam.el (nroam--insert): Rename let variable --- nroam.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nroam.el b/nroam.el index 5030345..2211197 100644 --- a/nroam.el +++ b/nroam.el @@ -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 () -- cgit v1.2.3-54-g00ecf