Browse Source

disable zone in windows

pull/1/head
10sr 13 years ago
parent
commit
8320ae5e11
1 changed files with 8 additions and 7 deletions
  1. +8
    -7
      .emacs.el

+ 8
- 7
.emacs.el View File

@@ -710,12 +710,13 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."
(add-hook (kill-local-variable 'before-save-hook) (add-hook (kill-local-variable 'before-save-hook)
'js2-before-save))) 'js2-before-save)))


(when (require 'zone nil t)
;; (zone-when-idle 180)
(run-with-idle-timer 180 t (lambda ()
(unless (memq major-mode
'(term-mode))
(zone)))))
(and (require 'zone nil t)
(not (eq system-type 'windows-nt))
;; (zone-when-idle 180)
(run-with-idle-timer 180 t (lambda ()
(unless (memq major-mode
'(term-mode))
(zone)))))


(when (require 'uniquify nil t) (when (require 'uniquify nil t)
(setq uniquify-buffer-name-style 'post-forward-angle-brackets) (setq uniquify-buffer-name-style 'post-forward-angle-brackets)
@@ -1586,7 +1587,7 @@ if arg given, use that eshell buffer, otherwise make new eshell buffer."
(eshell/export "GIT_EDITOR=") (eshell/export "GIT_EDITOR=")
(eshell/export "LC_MESSAGES=C") (eshell/export "LC_MESSAGES=C")
(eshell/export "TERM=xterm") (eshell/export "TERM=xterm")
)))))
))


;; (eval-after-load "em-alias" ;; (eval-after-load "em-alias"
;; '(progn ;; (eshell/alias "ll" "ls -l") ;; '(progn ;; (eshell/alias "ll" "ls -l")


Loading…
Cancel
Save