branch: elpa/drupal-mode
commit 6fbdf7946b772041f0a3ee3dc59977709491517e
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
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)