Fix issues with emacs built without GUI support

This commit is contained in:
2014-11-22 14:53:39 +00:00
parent 1105f4c295
commit 7fbe31287f
2 changed files with 5 additions and 3 deletions

View File

@@ -24,7 +24,7 @@
(tool-bar-mode -1)
;; Disable Scrollbar
(set-scroll-bar-mode 'nil)
(if gui-window-system (set-scroll-bar-mode 'nil))
;; Show matching parentheses
(show-paren-mode t)
@@ -133,7 +133,7 @@
;; Customize git-gutter-fringe glyphs.
(when (require 'fringe-helper nil 'noerror)
(when (and gui-window-system (require 'fringe-helper nil 'noerror))
;; (setq-default left-fringe-width 20)
;; (setq-default right-fringe-width 20)
(fringe-helper-define 'git-gutter-fr:added nil

View File

@@ -3,5 +3,7 @@
;;
;; nvm
(when (require 'nvm nil 'noerror)
(when (and
(file-directory-p (expand-file-name "~/.nvm"))
(require 'nvm nil 'noerror))
(nvm-use "v0.10.24"))