The following .emacs
file works as expected, so long as I invoke emacs the "normal" way (ie by launching the emacs
executable directly).
(global-unset-key (kbd "C-]"))
(global-set-key (kbd "H-C-]") 'abort-recursive-edit)
(define-key local-function-key-map (kbd "C-]") 'event-apply-hyper-modifier)
But when I start emacs via emacsclient -n -c -a ""
, the value of local-function-key-map
gets overwritten somewhere along the way. I have used print statements to make sure that my .emacs
file is getting run, and that the value of local-function-key-map
gets updated. But by the time I land in the *scratch*
buffer, my binding is missing from local-function-key-map
.
Has anyone experienced this before, or knows a reason why local-function-key-map
would get clobbered when starting emacs via emacsclient
?
I am running emacs-25.1 on CentOS 7