From cf1c5832f2c44fcf08b4e6a613561b311d723b27 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Mon, 20 Apr 2020 16:20:21 -0400 Subject: [PATCH] Fix mu4e autoload and add global keybinding --- emacs/init.org | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/emacs/init.org b/emacs/init.org index bbc7386..8d2d1b5 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -3626,8 +3626,8 @@ First, add it to the load path: Then set up autoloads on the entry functions: #+BEGIN_SRC emacs-lisp - (autoload 'mu4e (concat mu4e-load-path "/mu4e.el")) - (autoload 'mu4e (concat mu4e-load-path "/mu4e.el")) + (autoload 'mu4e (concat mu4e-load-path "/mu4e.el") nil t) + (autoload 'mu4e-update-index (concat mu4e-load-path "/mu4e.el") nil t) #+END_SRC Then configure it: @@ -3681,6 +3681,11 @@ Then configure it: . ("-a" "jeremydormitzer-lola-com"))))))) #+end_src +Global keybindings: +#+begin_src emacs-lisp + (leader-def-key "am" #'mu4e) +#+end_src + * w3m Browsing the web from Emacs. Relies on having [[http://w3m.sourceforge.net/][w3m]] installed. #+BEGIN_SRC emacs-lisp