~protesilaos/lin

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Autoload lin-mode

Details
Message ID
<871qy1oy9w.fsf@dejaeghe.re>
DKIM signature
pass
Download raw message
Patch: +1 -0
Pondering on why the global mode is autoloaded but the local one not,
derailed into an investigation on the autoload cutoff marker. I can't be
discovered a fraud! Anyway, the local mode should also be autoloaded.

---
 lin.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lin.el b/lin.el
index 9ec7d06..b9918ae 100644
--- a/lin.el
+++ b/lin.el
@@ -294,6 +294,7 @@ updates the face.  Users who prefer to use `setq' must run
   (t
    'hl-line)))

;;;###autoload
(define-minor-mode lin-mode
  "Enable `hl-line-mode' and remap its face to `lin-face'."
  :global nil
-- 
2.35.1

-- 
Nicolas De Jaeghere
Details
Message ID
<87pmll59al.fsf@protesilaos.com>
In-Reply-To
<871qy1oy9w.fsf@dejaeghe.re> (view parent)
DKIM signature
pass
Download raw message
On 2022-04-13, 15:34 +0200, Nicolas De Jaeghere <nicolas@dejaeghe.re> wrote:

> Pondering on why the global mode is autoloaded but the local one not,
> derailed into an investigation on the autoload cutoff marker. I can't be
> discovered a fraud! Anyway, the local mode should also be autoloaded.

Usually local modes are not autoloaded, while the global ones are.  At
any rate, this change makes sense, so I applied it.

Thank you!

-- 
Protesilaos Stavrou
https://protesilaos.com
Reply to thread Export thread (mbox)