all repos — archive/dotfiles @ cb812e671e45bea0c33a7361f1bd7262f020c46c

Superseded by nixfiles

Emacs: remove customisation of byte-compile-dest-file for init.el Instead, rely on installer creating a symlink to ~/projects/dotfiles/init.elc

Alan Pearce
commit

cb812e671e45bea0c33a7361f1bd7262f020c46c

parent

41eefb4a28f5aae4ab78e73cbcb925117b1076ea

1 file changed, 0 insertions(+), 11 deletions(-)

changed files
M emacs/elisp/ap-functions.elemacs/elisp/ap-functions.el
@@ -26,17 +26,6 @@ (error (message "Invalid expression")
(insert (current-kill 0))))) ;;;###autoload -(defun ap/byte-compile-get-dest (filename) - (let ((basename (file-name-nondirectory filename)) - (dirname (file-name-directory filename))) - (cond - ((string-equal basename "init.el") - (if (file-exists-p (concat user-emacs-directory "init.el")) - (concat user-emacs-directory "init.elc"))) - (t (let (byte-compile-dest-file-function) - (byte-compile-dest-file filename)))))) - -;;;###autoload (defun shell-execute (to-current-buffer) (interactive "P") (let ((file-buffer (if (buffer-file-name)