aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/init.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.org b/emacs/init.org
index 9e3add3..ef37576 100644
--- a/emacs/init.org
+++ b/emacs/init.org
@@ -96,7 +96,8 @@ User name and email.
Compile the =g.el= script and bind it to @@html:<kbd>M-g</kbd>@@.
#+BEGIN_SRC elisp
-(unless (file-exists-p (concat user-emacs-directory "lisp/g.elc"))
+(if (file-exists-p (concat user-emacs-directory "lisp/g.elc"))
+ (load-file (concat user-emacs-directory "lisp/g.elc"))
(byte-compile-file (concat user-emacs-directory "lisp/g.el") t))
(global-set-key (kbd "M-g") 'g)
#+END_SRC