From cb812e671e45bea0c33a7361f1bd7262f020c46c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 7 Oct 2013 13:10:18 +0100 Subject: Emacs: remove customisation of byte-compile-dest-file for init.el Instead, rely on installer creating a symlink to ~/projects/dotfiles/init.elc --- emacs/elisp/ap-functions.el | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'emacs/elisp') diff --git a/emacs/elisp/ap-functions.el b/emacs/elisp/ap-functions.el index 4c30001..19f6332 100644 --- a/emacs/elisp/ap-functions.el +++ b/emacs/elisp/ap-functions.el @@ -25,17 +25,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") -- cgit 1.4.1