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

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

Re: Elisp help


From: David Kastrup
Subject: Re: Elisp help
Date: Sat, 13 Oct 2007 22:54:35 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

zozette.milane@gmail.com (frederic) writes:

> Could anybody kelp me?
> I would like to write something like:
>
> if  (I'am at the beginning of buffer)
> then (add a newline)
> else (do nothing)
>
> How are these lines writed in Elisp ?

(when (bobp) (newline))

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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