help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: PGTK+ warning


From: Alessandro Bertulli
Subject: Re: PGTK+ warning
Date: Tue, 15 Nov 2022 19:05:31 +0100
User-agent: mu4e 1.8.9; emacs 29.0.50

Emanuel Berg <incal@dataswamp.org> writes:
> ;; (setq text-mode-hook nil)
>
> (defun text-mode-hook-f ()
>   (abbrev-mode)
>   (define-key text-mode-map "\C-c\C-c" #'compile) )
>   
> (add-hook 'text-mode-hook #'text-mode-hook-f)

Correct, but that doesn't account for functions possibly added by other
packages. Anyway, now you make me think that this should never happen,
so my concern is probably futile. Thanks for the suggestion!

Moreover, correct me, but uncommenting also the first line makes the
init file idempotent, right?

-- 
Alessandro Bertulli



reply via email to

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