emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/drupal-mode 6fbdf7946b 241/308: Fixed getting Drupal site


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode 6fbdf7946b 241/308: Fixed getting Drupal site temp folder.
Date: Tue, 25 Jan 2022 10:59:51 -0500 (EST)

branch: elpa/drupal-mode
commit 6fbdf7946b772041f0a3ee3dc59977709491517e
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>

    Fixed getting Drupal site temp folder.
---
 drupal-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drupal-mode.el b/drupal-mode.el
index 3efde98b9b..911b0a379f 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -498,10 +498,10 @@ buffer."
     (let* ((root drupal-rootdir)
            (tmp (ignore-errors
                   (replace-regexp-in-string
-                   "[\n\r]" ""
+                   "[\n\r].*" ""
                    (with-output-to-string
                      (with-current-buffer standard-output
-                       (call-process drupal-drush-program nil (list t nil) nil 
(concat "--root=" (expand-file-name root)) "core-status" "temp" "--pipe" 
"--format=list" "--strict=0"))))))
+                       (call-process drupal-drush-program nil (list t nil) nil 
"core-status" "--fields=temp" "--pipe" "--format=list" "--strict=0"))))))
            (dd (concat tmp "/drupal_debug.txt")))
       (when (file-readable-p dd)
         (find-file-other-window dd)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]