From 643f0bc0617e043190bbcd55579f39902bb1cd91 Mon Sep 17 00:00:00 2001 From: plugd Date: Sat, 24 Jul 2021 22:59:01 +0200 Subject: [PATCH 1/1] Moved variable closer to use. --- elpher.el | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/elpher.el b/elpher.el index b7b6455..0888870 100644 --- a/elpher.el +++ b/elpher.el @@ -134,14 +134,6 @@ "Association list from types to getters, renderers, margin codes and index faces.") -;;; Internal variables -;; - -;; buffer-local -(defvar elpher--gemini-page-headings nil - "List of headings on the page.") - - ;;; Declarations to avoid compiler warnings. ;; @@ -1465,6 +1457,10 @@ treatment that a separate function is warranted." (insert (propertize display-string 'face 'elpher-unknown))) (insert "\n")))) +;; buffer-local +(defvar elpher--gemini-page-headings nil + "List of headings on the page.") + (defun elpher-gemini-insert-header (header-line) "Insert header described by HEADER-LINE into a text/gemini document. The gemini map file line describing the header is given -- 2.20.1