1. Yuya Nishihara
  2. dotfiles

Commits

Yuya Nishihara  committed 3bdcca7

emacs: start edit-server for chromium

  • Participants
  • Parent commits 66a8502
  • Branches default

Comments (0)

Files changed (1)

File dot.emacs

View file
       (mwheel-install))  ; workaround for 'mouse-wheel-mode is void' error
   (tabbar-mode))
 
+; for Chrome "Edit with Emacs" extension
+(when (and (daemonp)
+           (executable-find "chromium")
+           (require 'edit-server nil t))
+  (require 'edit-server)
+  (setq edit-server-new-frame nil)
+  (edit-server-start))
+
 ; WORKAROUND for vc-hg's problem
 (setenv "HGPLAIN" "")