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

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

[nongnu] elpa/geiser-chicken a6f88ca 081/102: Mark the beginning of code


From: Philip Kaludercic
Subject: [nongnu] elpa/geiser-chicken a6f88ca 081/102: Mark the beginning of code part of elisp libraries with Code: heading
Date: Sun, 1 Aug 2021 18:27:00 -0400 (EDT)

branch: elpa/geiser-chicken
commit a6f88ca6db7df337e71ac22b382b9ef6c5548d63
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-chicken.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/elisp/geiser-chicken.el b/elisp/geiser-chicken.el
index 4814aa7..d0e443b 100644
--- a/elisp/geiser-chicken.el
+++ b/elisp/geiser-chicken.el
@@ -11,6 +11,8 @@
 
 ;; Start date: Sun Mar 08, 2009 23:03
 
+
+;;; Code:
 
 (require 'geiser-connection)
 (require 'geiser-syntax)



reply via email to

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