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

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

Re: new major mode doubts


From: Luca Ferrari
Subject: Re: new major mode doubts
Date: Thu, 17 Jan 2013 09:14:36 +0100

> 2) the commenting is behaving in a strange manner: I've c++ comments,
> therefore // .... and so I've defined the following:
> (defun dataflex-comment-dwim (arg)
>   "Comment (in/out) a Dataflex piece of source code. It is based on 
> comment-dwin
> of newcomment.el"
>   (interactive "*P")
>   (require 'newcomment)
>   (let ( (comment-start "//") (comment-end "") )
>     (comment-dwim arg)))

I found a problem with another assignment to comment-start and
comment-end that clashes with the above, so now this problem is fixed!

Luca



reply via email to

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