[Top][All Lists]

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

Re: Using comment-region in function

From: Stefan Monnier
Subject: Re: Using comment-region in function
Date: Thu, 13 May 2004 20:48:25 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> (define-skeleton head
>   "Insert a standard header for C files"
>   ""
>   (comment-region 
>    (point)
>    (progn
>      (blurb-head)
>    (point))))

You need a quote around the call to comment, otherwise skeleton will try to
insert whatever value is returned by comment-region.


reply via email to

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