emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/geiser-chibi 5e7ba0f 25/38: Mark the beginning of code par


From: Philip Kaludercic
Subject: [nongnu] elpa/geiser-chibi 5e7ba0f 25/38: Mark the beginning of code part of elisp libraries with Code: heading
Date: Sun, 1 Aug 2021 18:26:19 -0400 (EDT)

branch: elpa/geiser-chibi
commit 5e7ba0f2543e3e7b755d4fd7a7433551a382f6c8
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    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-chibi.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/elisp/geiser-chibi.el b/elisp/geiser-chibi.el
index 9de435b..190f0f9 100644
--- a/elisp/geiser-chibi.el
+++ b/elisp/geiser-chibi.el
@@ -5,6 +5,9 @@
 ;; have received a copy of the license along with this program. If
 ;; not, see <http://www.xfree86.org/3.3.6/COPYRIGHT2.html#5>.
 
+
+;;; Code:
+
 (require 'geiser-connection)
 (require 'geiser-syntax)
 (require 'geiser-custom)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]