[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to embed the current buffer name into the compile-comand
From: |
Eli Zaretskii |
Subject: |
Re: how to embed the current buffer name into the compile-comand |
Date: |
Sat, 04 Aug 2007 12:44:24 +0300 |
> From: sunway <sunwayforever@gmail.com>
> Date: Fri, 03 Aug 2007 18:03:28 -0700
>
> (setq compile-command (concat (concat "g++ -Wall " (buffer-file-name))
> " &&./a.out"))
There's no need for nested `concat' invocations: `concat' accepts any
number of arguments, not just 2.
See the doc string of `concat' for more details.