summary refs log tree commit diff stats
path: root/emacs/elisp
diff options
context:
space:
mode:
authorAlan Pearce2013-10-07 13:10:18 +0100
committerAlan Pearce2013-10-07 13:10:18 +0100
commitcb812e671e45bea0c33a7361f1bd7262f020c46c (patch)
tree0e9de7894b13f7812415e3239e4c722df4b22f60 /emacs/elisp
parent41eefb4a28f5aae4ab78e73cbcb925117b1076ea (diff)
downloadnixfiles-cb812e671e45bea0c33a7361f1bd7262f020c46c.tar.lz
nixfiles-cb812e671e45bea0c33a7361f1bd7262f020c46c.tar.zst
nixfiles-cb812e671e45bea0c33a7361f1bd7262f020c46c.zip
Emacs: remove customisation of byte-compile-dest-file for init.el
Instead, rely on installer creating a symlink to ~/projects/dotfiles/init.elc
Diffstat (limited to 'emacs/elisp')
-rw-r--r--emacs/elisp/ap-functions.el11
1 files changed, 0 insertions, 11 deletions
diff --git a/emacs/elisp/ap-functions.el b/emacs/elisp/ap-functions.el
index 4c300015..19f63320 100644
--- a/emacs/elisp/ap-functions.el
+++ b/emacs/elisp/ap-functions.el
@@ -26,17 +26,6 @@
            (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)