From 453f803bb3c2b644c035eb2ee142fa3d4581e8ed Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Mon, 10 Jun 2024 09:39:41 +0300 Subject: [PATCH] ; * lisp/outline.el: Remove unused variable. (cherry picked from commit 4d59608ec40d725c6d7ec57d02a81ea6c3641079) --- lisp/outline.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lisp/outline.el b/lisp/outline.el index c19ee9cf0f6..00bfb231302 100644 --- a/lisp/outline.el +++ b/lisp/outline.el @@ -1708,8 +1708,7 @@ after reverting the buffer." (outline-map-region (lambda () (let* ((level (funcall outline-level)) - (heading (buffer-substring-no-properties (pos-bol) (pos-eol))) - path) + (heading (buffer-substring-no-properties (pos-bol) (pos-eol)))) (while (and current-path (>= (cdar current-path) level)) (pop current-path)) (push (cons heading level) current-path) @@ -1730,8 +1729,7 @@ hidden by `outline-hidden-headings-paths'." (outline-map-region (lambda () (let* ((level (funcall outline-level)) - (heading (buffer-substring (pos-bol) (pos-eol))) - path) + (heading (buffer-substring (pos-bol) (pos-eol)))) (while (and current-path (>= (cdar current-path) level)) (pop current-path)) (push (cons heading level) current-path) -- 2.39.2