diff --git a/emacs.el b/emacs.el index c378a62..48dffaa 100644 --- a/emacs.el +++ b/emacs.el @@ -291,6 +291,12 @@ Otherwize hook it." 'darwin)) (set-variable 'server-use-tcp t)) +(add-hook 'server-visit-hook + (lambda () + (use-local-map (copy-keymap (current-local-map))) + (local-set-key (kbd "C-c C-c") 'server-edit) + (message "server-visit-hook %S" buffer-file-name))) + ;; MSYS2 fix (when (eq system-type