Seiji Zenitani
zenit****@users*****
2006年 8月 7日 (月) 23:55:01 JST
Index: CarbonEmacsPackage/GPL/smart-compile.el diff -u CarbonEmacsPackage/GPL/smart-compile.el:1.10 CarbonEmacsPackage/GPL/smart-compile.el:1.11 --- CarbonEmacsPackage/GPL/smart-compile.el:1.10 Sat Jul 29 06:19:43 2006 +++ CarbonEmacsPackage/GPL/smart-compile.el Mon Aug 7 23:55:01 2006 @@ -3,7 +3,7 @@ ;; Copyright (C) 1998-2006 Seiji Zenitani <zenit****@mac*****> ;; Author: Seiji Zenitani <zenit****@mac*****> -;; Version: v20060729 +;; Version: v20060807 ;; Keywords: tools, unix ;; Created: 1998-12-27 ;; Compatibility: Emacs 20, 21 @@ -46,6 +46,10 @@ :prefix "smarct-compile") (defcustom smart-compile-alist '( + (emacs-lisp-mode . (emacs-lisp-byte-compile)) + (html-mode . (browse-url-of-buffer)) + (html-helper-mode . (browse-url-of-buffer)) + (octave-mode . (run-octave)) ("\\.c\\'" . "gcc -O2 %f -lm -o %n") ("\\.[Cc]+[Pp]*\\'" . "g++ -O2 %f -lm -o %n") ("\\.m\\'" . "gcc -O2 %f -lobjc -lpthread -o %n") @@ -57,9 +61,6 @@ ("\\.tex\\'" . (tex-file)) ("\\.pl\\'" . "perl -cw %f") ("\\.rb\\'" . "ruby -cw %f") - (emacs-lisp-mode . (emacs-lisp-byte-compile)) - (html-mode . (browse-url-of-buffer)) - (html-helper-mode . (browse-url-of-buffer)) ) "List of compile commands. In argument, some keywords beginning with '%' will be replaced by: