From: plugd Date: Sat, 24 Jul 2021 20:59:01 +0000 (+0200) Subject: Moved variable closer to use. X-Git-Tag: v3.0.0~4 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=643f0bc0617e043190bbcd55579f39902bb1cd91;p=elpher.git Moved variable closer to use. --- 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