[Top][All Lists]

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

Re: Bug-reference auto-configuration

From: Ted Zlatanov
Subject: Re: Bug-reference auto-configuration
Date: Thu, 18 Jun 2020 15:21:54 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On Wed, 17 Jun 2020 22:34:17 +0200 Tassilo Horn <tsdh@gnu.org> wrote: 

TH> I'd welcome some more testing.  You just have to enable
TH> `bug-reference-mode' or `bug-reference-prog-mode' and cross fingers,
TH> e.g.,

TH>   ;; Enable in prog mode buffers.
TH>   (add-hook 'prog-mode-hook #'bug-reference-prog-mode)

TH> and (for Gnus users)

TH>   ;; Enable in Gnus summary and article buffers.
TH>   (add-hook 'gnus-summary-mode-hook #'bug-reference-mode)
TH>   (add-hook 'gnus-article-mode-hook #'bug-reference-mode)

It looks good in my testing. Would this be the right use-package
invocation and hooks?

  (use-package bug-reference
    (prog-mode . bug-reference-prog-mode)
    (gnus-mode . bug-reference-mode)
    (text-mode . bug-reference-mode))


reply via email to

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