branch: elpa/drupal-mode
commit 4532cd72177649ebb8a206f2b71812b8588aa23b
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
Use `._flymake` as temp file pattern.
Use a mix up of the standard `_flymake` and starting the pattern with
`.` to play with my patch to
[CoderSniffer](https://drupal.org/node/2172383).
---
drupal/flymake-phpcs.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drupal/flymake-phpcs.el b/drupal/flymake-phpcs.el
index a6c6cfce1a..d0d881a688 100644
--- a/drupal/flymake-phpcs.el
+++ b/drupal/flymake-phpcs.el
@@ -127,7 +127,7 @@ copy."
".tpl.php"
(file-name-extension file-name t)))
(base-name (replace-regexp-in-string (concat (regexp-quote extension)
"\\'") "" file-name))
- (temp-name (file-truename (concat base-name "." prefix extension))))
+ (temp-name (file-truename (concat base-name "._" prefix extension))))
(flymake-log 3 "create-temp-inplace: file=%s temp=%s" file-name temp-name)
temp-name))
@@ -156,7 +156,7 @@ copy."
(match-string-no-properties 0)
(file-name-extension file-name t)))
(base-name (file-name-nondirectory (replace-regexp-in-string (concat
(regexp-quote extension) "\\'") "" file-name)))
- (temp-name (file-truename (make-temp-file (concat base-name "."
prefix) nil extension))))
+ (temp-name (file-truename (make-temp-file (concat base-name "._"
prefix) nil extension))))
(flymake-log 3 "create-temp-intemp: file=%s temp=%s" file-name temp-name)
temp-name))