Drop phpactor patch

Doom pulled in a version with the patch applied upstream.
This commit is contained in:
Marien Zwart 2024-06-27 22:41:23 +10:00
parent 5b21d41b7a
commit 0c1376d910
No known key found for this signature in database
2 changed files with 0 additions and 35 deletions

View file

@ -162,12 +162,6 @@
done
'';
};
# Fix /build/ leaking into byte-compiled files (patch accepted upstream).
phpactor = esuper.phpactor.overrideAttrs (attrs: {
patches = (attrs.patches or [ ]) ++ [
./elisp-patches/0001-Do-not-call-locate-user-emacs-file-when-compiling.patch
];
});
# https://github.com/emacs-taskrunner/helm-taskrunner/issues/2
# TODO: make our generated melpaBuild available in esuper?
# (upstream unchanged for 5 years, not urgent to make this robust...)

View file

@ -1,29 +0,0 @@
From 9d0a3eb98982c38bfe1e1872498538b103ad06cd Mon Sep 17 00:00:00 2001
From: Marien Zwart <marienz@google.com>
Date: Sun, 7 Apr 2024 17:46:36 +1000
Subject: [PATCH] Do not call locate-user-emacs-file when compiling
The default value of phpactor-install-directory is relative to the
user's user-emacs-directory. Using eval-when-compile here hardcodes the
wrong directory if a separate build user is used.
---
phpactor.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/phpactor.el b/phpactor.el
index 7e7c036..96de425 100644
--- a/phpactor.el
+++ b/phpactor.el
@@ -68,8 +68,7 @@
;;;###autoload
(defcustom phpactor-install-directory
- (eval-when-compile
- (expand-file-name (locate-user-emacs-file "phpactor/")))
+ (expand-file-name (locate-user-emacs-file "phpactor/"))
"Directory for setup Phactor. (default `~/.emacs.d/phpactor/')."
:type 'directory)
--
2.42.0