[Top][All Lists]

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

Re: Calendar-mode and show-trailing-whitespace

From: Glenn Morris
Subject: Re: Calendar-mode and show-trailing-whitespace
Date: Fri, 10 May 2013 13:16:02 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Stefan Monnier wrote:

> Most people who enable show-trailing-whitespace globally just do it
> because they like their files to be "whitespace clean", and couldn't
> care less about "whitespace cleanliness" of internally generated text
> as long as it doesn't make its way into their files.

(add-hook 'find-file-hook (lambda ()
          (setq-local show-trailing-whitespace t)))

Or someone who cares about whitespace can add a `files-only' option for

reply via email to

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