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

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

Re: delete-trailing-whitespace on save


From: Joost Kremers
Subject: Re: delete-trailing-whitespace on save
Date: 27 Nov 2007 14:42:13 GMT
User-agent: slrn/0.9.8.1 (Linux)

jdh2358@gmail.com wrote:
> thought I could use an after-save-hook
>
> but that deletes the whitespace *after* saving.

as the name implies... ;-)

>  I need something like
> a before-save-hook.  I googled before-save-hook and it appears there
> was once such a beast, but it does not appear to be a variable in my
> version of emacs (GNU Emacs 21.3.1)

there is in my version (GNU Emacs 23.0.0.1), so i find it odd that you
don't have it. have you tried <C-h v before-save-hook RET>?


-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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