diff options
| -rw-r--r-- | emacs/init.org | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs/init.org b/emacs/init.org index 66e8a73..79eca0b 100644 --- a/emacs/init.org +++ b/emacs/init.org @@ -96,8 +96,9 @@ User name and email. Compile the =g.el= script and bind it to @@html:<kbd>M-g</kbd>@@. #+BEGIN_SRC elisp - (byte-compile-file (concat user-emacs-directory "lisp/g.el") t) - (global-set-key (kbd "M-g") 'g) +(unless (file-exists-p (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 ** use-package |
