qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Fix QCOW2 debugging code to compile again


From: malc
Subject: Re: [Qemu-devel] [PATCH] Fix QCOW2 debugging code to compile again
Date: Tue, 23 Jun 2009 21:42:15 +0400 (MSD)

On Tue, 23 Jun 2009, Blue Swirl wrote:

> On T, Filip Navara <address@hidden> wrote:
> > Signed-off-by: Filip Navara <address@hidden>
> 
> >  -//#define DEBUG_ALLOC
> >  -//#define DEBUG_ALLOC2
> >  -//#define DEBUG_EXT
> 
> >  +/* #define DEBUG_ALLOC */
> >  +/* #define DEBUG_ALLOC2 */
> >  +/* #define DEBUG_EXT */
> 
> The C99 comment version is much more convenient than K&R comment
> version in cases like this, where the intention is to be able to
> enable the define quickly.

It's all the same for me: C-u A-;

(defun caml-comment-till-end-of-line (&optional arg)
  (interactive "P")
  (save-excursion
    (if (looking-at search-whitespace-regexp)
        (re-search-forward search-whitespace-regexp))
    (comment-region (point) (progn (end-of-line) (point)) arg)))

(global-set-key [(alt ?\;)] 'caml-comment-till-end-of-line) 

-- 
mailto:address@hidden




reply via email to

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