Only show ide-skel when X is running

This commit is contained in:
Tom Willemsen 2011-05-27 21:41:12 +02:00
parent ef439c0f32
commit 913844f26f
2 changed files with 10 additions and 8 deletions

2
emacs
View file

@ -36,7 +36,7 @@
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(org-agenda-files (quote ("~/documents/org/main.org"))) '(org-agenda-files (quote ("~/documents/org/main.org")))
'(safe-local-variable-values (quote ((ispell-local-dictionary . nl))))) '(safe-local-variable-values (quote ((Mode . shell-script) (ispell-local-dictionary . nl)))))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.

View file

@ -1,3 +1,5 @@
(if window-system
(progn
(require 'tabbar) (require 'tabbar)
(require 'ide-skel) (require 'ide-skel)
@ -5,4 +7,4 @@
(global-set-key [f11] 'ide-skel-toggle-bottom-view-window) (global-set-key [f11] 'ide-skel-toggle-bottom-view-window)
(global-set-key [f12] 'ide-skel-toggle-right-view-window) (global-set-key [f12] 'ide-skel-toggle-right-view-window)
(global-set-key [C-prior] 'tabbar-backward) (global-set-key [C-prior] 'tabbar-backward)
(global-set-key [C-next] 'tabbar-forward) (global-set-key [C-next] 'tabbar-forward)))