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

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

Re: Separating colour and positioning functioning


From: Emanuel Berg
Subject: Re: Separating colour and positioning functioning
Date: Tue, 09 Feb 2021 02:01:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Christopher Dimech wrote:

> I want to have two functions, one to enable supinf, another
> to disable it.

An example toggle function:

(defvar erc-do-spell)
(setq erc-do-spell t)

(defun erc-toggle-spell ()
  (interactive)
  (setq erc-do-spell (not erc-do-spell)) )

https://dataswamp.org/~incal/emacs-init/erc-incal.el

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

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