1
0
Fork 0

fix(emacs): use keymap-local-set instead of local-set-key

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-01-23 16:36:38 -05:00
parent 0e37bfae2c
commit 17b05d5d26
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
3 changed files with 18 additions and 18 deletions

View file

@ -12,8 +12,8 @@
(setq auto-mode-alist (cons '("\\.pmd$" . pollen-mode) auto-mode-alist))
(defun configure-scribble ()
"Configure keybinds for scribble"
(local-set-key (kbd "C-c C-c") #'compile))
"Configure keybinds for scribble."
(keymap-local-set "C-c C-c" #'compile))
(add-hook 'scribble-mode-hook #'configure-scribble)