diff options
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 |