summaryrefslogtreecommitdiffstats
path: root/.emacs.d/slash_c.el
diff options
context:
space:
mode:
authorGravatar ryuslash2010-09-12 10:33:26 +0200
committerGravatar ryuslash2010-09-12 10:33:26 +0200
commit1ca854dbec0e879429c83b3da3d26dae1d852c00 (patch)
tree8ccc6cfeca5c6b97afdc94c312f55a064b1c047d /.emacs.d/slash_c.el
parent7c4787a7f477d92dfc58713e61abb42ed5844e87 (diff)
downloaddotfiles-1ca854dbec0e879429c83b3da3d26dae1d852c00.tar.gz
dotfiles-1ca854dbec0e879429c83b3da3d26dae1d852c00.zip
Removed old emacs files
Diffstat (limited to '.emacs.d/slash_c.el')
-rw-r--r--.emacs.d/slash_c.el15
1 files changed, 0 insertions, 15 deletions
diff --git a/.emacs.d/slash_c.el b/.emacs.d/slash_c.el
deleted file mode 100644
index b8d35fe..0000000
--- a/.emacs.d/slash_c.el
+++ /dev/null
@@ -1,15 +0,0 @@
-(if (not (intern-soft "cc-mode"))
- (require 'cc-mode))
-
-(global-set-key [(f9)] 'compile) ; make F9 call the compilation command
-(setq compilation-window-height 8) ; make the compilation window smaller
-
-;; Make compilation window disappear on succesful build
-(setq compilation-finish-function
- (lambda (buf str)
- (if (string-match "exited abnormally" str)
- ;; there were errors
- (message "compilation errors, press C-x ` to visit")
- ;; no errors, make the compilation window go away in 0.5 seconds
- (run-at-time 0.5 nil 'delete-windows-on buf)
- (message "NO COMPILATION ERRORS!")))) \ No newline at end of file