diff options
Diffstat (limited to '')
-rw-r--r-- | emacs | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -209,7 +209,14 @@ (when (require 'server nil 'noerror) (if (and (fboundp 'server-running-p) (not (server-running-p))) - (server-start))) + (server-start)) + + (add-hook 'server-switch-hook + (lambda () + (when (current-local-map) + (use-local-map (copy-keymap (current-local-map)))) + (when server-buffer-clients + (local-set-key (kbd "C-x k") 'server-edit))))) ; emacs code browser (when (require 'ecb nil 'noerror) |