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

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

Re: PGTK+ warning


From: Emanuel Berg
Subject: Re: PGTK+ warning
Date: Tue, 15 Nov 2022 16:35:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Alessandro Bertulli wrote:

> deal with side-effects (like removing functions from hooks)
> way faster

;; (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)

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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