branch: elpa/autothemer commit 2f1914d574036c38704d65a9652b00d4f8a7bd9b Author: Jason Milkins <jason...@gmail.com> Commit: Jason Milkins <jason...@gmail.com>
Revert "Add function to find the autothemer source" This reverts commit f7ea6013874878d151a9436a14633f88d38348a4. --- autothemer.el | 18 +----------------- tests/autothemer-tests.el | 2 +- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/autothemer.el b/autothemer.el index 2a00703d71..0e1a8dfdd8 100644 --- a/autothemer.el +++ b/autothemer.el @@ -7,7 +7,7 @@ ;; Maintainer: Jason Milkins <jason...@gmail.com> ;; ;; URL: https://github.com/jasonm23/autothemer -;; Version: 0.2.16 +;; Version: 0.2.15 ;; Package-Requires: ((dash "2.10.0") (emacs "26.1")) ;; ;;; License: @@ -1086,21 +1086,5 @@ Swatch Template parameters: svg-swatches))) (message "%s generated." svg-out-file))))) -(defun autothemer--locate-source () - "Return the absolute file path of autothemer source. - -Return nil if not found." - (let* ((lib-file-name "autothemer.el") - (located-file (file-truename (locate-library "autothemer"))) - (is-byte-compiled (string= "elc" (file-name-extension located-file))) - (el-name (format "%s.el" (file-name-sans-extension located-file))) - (located-el (file-truename (if (and is-byte-compiled (file-exists-p el-name)) - el-name - located-file))) - (located-folder (file-name-directory located-el))) - (if (file-directory-p located-folder) - located-folder - nil))) - (provide 'autothemer) ;;; autothemer.el ends here diff --git a/tests/autothemer-tests.el b/tests/autothemer-tests.el index 77fc6fe333..fc1cd4079e 100644 --- a/tests/autothemer-tests.el +++ b/tests/autothemer-tests.el @@ -1,6 +1,6 @@ ;; autothemer-tests.el -;; Version: 0.2.16 +;; Version: 0.2.15 ;;; Code: