Browse Source

Merge branch 'master' of github.com:10sr/myrcfiles

pull/1/head
10sr 13 years ago
parent
commit
8d06d0a233
2 changed files with 9 additions and 8 deletions
  1. +2
    -2
      .bashrc
  2. +7
    -6
      .emacs.el

+ 2
- 2
.bashrc View File

@@ -84,7 +84,7 @@ gitls(){
done done
} }
catclip(){ catclip(){
if iscygwin
if iswindows
then then
cat /dev/clipboard | tr -d \\r cat /dev/clipboard | tr -d \\r
else else
@@ -92,7 +92,7 @@ catclip(){
fi fi
} }
setclip(){ setclip(){
if iscygwin
if iswindows
then then
if test $# -eq 0 if test $# -eq 0
then then


+ 7
- 6
.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)


Loading…
Cancel
Save