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

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

Re: Elisp beginner's question


From: Uwe Siart
Subject: Re: Elisp beginner's question
Date: Thu, 18 Sep 2008 19:08:20 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (windows-nt)

"Joe Casadonte" <jcasadonte@northbound-train.com> writes:

> (defun toggle-show-trailing-whitespace ()
>   "Toggle highlighting of trailing whitespace."
>   (interactive)
>   (setq show-trailing-whitespace (not show-trailing-whitespace)))
>
> But I don't know that that buys you anything useful.

It is instructive to me. Your (and Tassilo's) version is a lot more
elegant.

-- 
Uwe


reply via email to

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