diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-16 01:26:12 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-16 01:26:12 +0200 |
commit | 717903dee25f37fd4647949b5de86acf32b631f3 (patch) | |
tree | f1ec09990aa27a26a444b1eaa19e0e1d02426224 /.config/emacs/config.org | |
parent | c5c84d0688a22e62b0bbfd1ace80f813ccc972d9 (diff) |
emacs: Use ‘keymap-global-set’
The ‘global-set-key’ function is made obsolete by the new- and prefered
function ‘keymap-global-set’.
Diffstat (limited to '.config/emacs/config.org')
-rw-r--r-- | .config/emacs/config.org | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 90c8770..61d2ac5 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -245,10 +245,11 @@ here. #+BEGIN_SRC elisp - (global-set-key - (kbd "C-c e") + (keymap-global-set + "C-c e" (λ (interactive) - (find-file (expand-file-name "config.org" mango-config-directory)))) + (find-file + (expand-file-name "config.org" mango-config-directory)))) #+END_SRC |