Permalink
Browse files

add override sample and fix some parameters

  • Loading branch information...
1 parent 1719b5d commit 6feb0fb150569a89e6a85409fefc31b6b870544e @syohex committed Oct 28, 2012
Showing with 9 additions and 3 deletions.
  1. +9 −3 example/quickrun_conf.el
View
@@ -16,11 +16,17 @@
;; Add C++ command for C11 and set it default in C++ file.
(quickrun-add-command "c++/c11"
'((:command . "g++")
- (:exec . ("%c -std=c++0x %o -o %n %s"
- "%n %a"))
- (:remove . ("%n")))
+ (:exec . ("%c -std=c++0x %o -o %e %s"
+ "%e %a"))
+ (:remove . ("%e")))
:default "c++")
+;; Override existed command
+(quickrun-add-command "c/gcc"
+ '((:exec . ("%c -std=c++0x %e -o %e %s"
+ "%e %a")))
+ :override t)
+
;; Add pod command and set to use when extension of file is '.pod'
;; or major-mode of file is pod-mode.
(quickrun-add-command "pod"

0 comments on commit 6feb0fb

Please sign in to comment.