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

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

Re: string func to use in .emacs


From: Mario Domgörgen
Subject: Re: string func to use in .emacs
Date: Sun, 25 Jan 2004 18:45:05 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)

Peter Wu <peterwu@hotmail.com> writes:

> What I am looking for is like this:
>
> input    := "Emacs "
> output   := "Emacs"    
>
> The trailing blank space is trimmed.

,----[ C-h f delete-trailing-whitespace RET ]
| delete-trailing-whitespace is an interactive compiled Lisp function in
| `simple'.  (delete-trailing-whitespace)
| 
| Delete all the trailing whitespace across the current buffer.  All
| whitespace after the last non-whitespace character in a line is
| deleted.  This respects narrowing, created by C-x n n and friends.  A
| formfeed is not considered whitespace by this function.
| 
| [back]
`----

Look at this function to start with....

Mario

-- 
The Web site you seek
cannot be located but
endless others exist


reply via email to

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