aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNolan <strake7@users.noreply.github.com>2023-12-30 13:24:07 -0800
committerGitHub <noreply@github.com>2023-12-30 14:24:07 -0700
commit2b9e03a7b23ae2b63e18d8b949b1392e3989edce (patch)
treea38acd4b79a7c2699572de757b4b844cd0bd14b2
parentf868b22357477eb89605e66caf4d300b5dad2b7e (diff)
Delete apheleia-formatters-args-from-file (#273)
Remove unused artifact from #224
-rw-r--r--apheleia-utils.el11
1 files changed, 0 insertions, 11 deletions
diff --git a/apheleia-utils.el b/apheleia-utils.el
index 842da81..7e3820f 100644
--- a/apheleia-utils.el
+++ b/apheleia-utils.el
@@ -92,17 +92,6 @@ FILE-NAME."
(when-let ((file (locate-dominating-file default-directory file-name)))
(list file-flag (concat (expand-file-name file) file-name))))
-(defun apheleia-formatters-args-from-file (file-name)
- "Extract arguments from a text file.
-Look for a file up recursively from the current directory until FILE-NAME is
-found. If found, read the file and return an Alist of lines in the file."
- (when-let ((file (locate-dominating-file default-directory file-name)))
- (with-temp-buffer
- (insert-file-contents (concat (expand-file-name file) file-name))
- (cl-loop for line in (split-string (buffer-string) "\n" t)
- collect line)))
- )
-
(defun apheleia-formatters-extension-p (&rest exts)
"Assert whether current buffer has an extension in EXTS."
(when-let ((name buffer-file-name)