From: Juri Linkov Date: Mon, 10 Jun 2024 06:39:41 +0000 (+0300) Subject: ; * lisp/outline.el: Remove unused variable. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=453f803bb3c2b644c035eb2ee142fa3d4581e8ed;p=emacs.git ; * lisp/outline.el: Remove unused variable. (cherry picked from commit 4d59608ec40d725c6d7ec57d02a81ea6c3641079) --- 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)