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

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

Re: trailing whitespace visible on some buffers


From: Karl Eichwalder
Subject: Re: trailing whitespace visible on some buffers
Date: Sat, 14 Sep 2002 20:56:23 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

"Luis O. Silva" <address@hidden> writes:

>    Edward> Untested.
>
> Well, I've tested it and, unfortunately, it doesn't work for
> me. I don't understand why it doesn't work, since your
> suggestion seems to be appropriate (given my limited knowledge
> of lisp).

E.g., it's "Info-mode-hook" (note the upper case letter).  I'm using
this simple code:

(add-hook 'Info-mode-hook
          (lambda ()
            ;; (define-key Info-mode-map "=" 'delete-other-windows)
            ;; (define-key Info-mode-map "1" 'delete-other-windows)
            (setq show-trailing-whitespace nil)))

I didn't check the other mode hook names.

-- 
address@hidden (work) / address@hidden (home):              |
http://www.suse.de/~ke/                                  |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)


reply via email to

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