From 3ceb31b71824e59e3f000edf7cb09ab86616d723 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Tue, 25 Feb 2020 14:32:18 +0100 Subject: Mark the beginning of code part of elisp libraries with Code: heading It's the convention and by following it we make a big step towards supporting outline navigation. The convention doesn't say much about what parts of the code are supposed to be part of that sections and what parts belong in a subsequent section. Here we put the `require' forms in this section and maybe some setup code, that's a popular approach. In most cases there was " " where we now insert "Code:". They both serve a similar purpose and we keep the former because some users depend on that for navigation. We even add this " " in libraries where it previously was missing. In some cases the permission statement was followed by a commentary, which obviously does not belong in the "Code:" section. In such cases add the conventional "Commentary:" section. --- elisp/geiser.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'elisp/geiser.el') diff --git a/elisp/geiser.el b/elisp/geiser.el index 774ee54..478b10c 100644 --- a/elisp/geiser.el +++ b/elisp/geiser.el @@ -8,9 +8,12 @@ ;; have received a copy of the license along with this program. If ;; not, see . - +;;; Commentary: + ;; Autoloads and basic setup for geiser. + +;;; Code: ;;; Locations: ;;;###autoload -- cgit v1.2.3