コンパイルが終了したらコンパイル バッファを削除したい。
以下は私のinit-compile.elです
(require 'compile)
(defun notify-compilation-result(buffer msg)
  (if (string-match "Compilation finished" msg)
      (progn (delete-windows-on buffer)))
  (setq current-frame (car (car (cdr (current-frame-configuration)))))
  (select-frame-set-input-focus current-frame))
(add-to-list 'compilation-finish-functions 
             'notify-compilation-result)
(provide 'init-compile)
プレーン文字列を一致させる方法は?