diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-05-07 17:25:25 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2012-05-15 13:32:20 +0200 |
commit | 57bdb9166577ec76ef629a3202e295431c4795e9 (patch) | |
tree | 5f623157a2cb185c2b57df71285eaa304def183e /emacs | |
parent | 0bbc51f35bf2397357b7b44f7a54759e70a7f172 (diff) | |
download | dotfiles-57bdb9166577ec76ef629a3202e295431c4795e9.tar.gz dotfiles-57bdb9166577ec76ef629a3202e295431c4795e9.tar.xz dotfiles-57bdb9166577ec76ef629a3202e295431c4795e9.zip |
emacs: added edit-server for the chrome extension
Diffstat (limited to '')
-rw-r--r-- | emacs | 14 | ||||
-rw-r--r-- | emacs.elc | bin | 10278 -> 10792 bytes |
2 files changed, 14 insertions, 0 deletions
@@ -405,3 +405,17 @@ If this is set during find-file, flyspell mode gets enabled automaticaly.") deft-directory "~/.org/deft/" deft-text-mode 'org-mode) (global-set-key (kbd "<f9>") 'deft)) + +;; edit with emacs +(when (require 'edit-server nil 'noerror) + (setq edit-server-new-frame nil) + (edit-server-start)) + +;; fix raise-frame +(defadvice raise-frame (after make-it-work (&optional frame) activate) + "Work around some bug? in raise-frame/Emacs/GTK/Metacity/something. + Katsumi Yamaoka <yamaoka@jpl.org> posted this in + http://article.gmane.org/gmane.emacs.devel:39702" + (call-process + "wmctrl" nil nil nil "-i" "-R" + (frame-parameter (or frame (selected-frame)) 'outer-window-id))) Binary files differ |