We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58de9a7 commit eb40a89Copy full SHA for eb40a89
php.el
@@ -393,9 +393,8 @@ When `DOCUMENT-ROOT' is NIL, the document root is obtained from `ROUTER-OR-DIR'.
393
(if (file-directory-p router-or-dir)
394
router-or-dir
395
(directory-file-name router-or-dir))))
396
- (pattern (rx-form `(: bos ,(getenv "HOME"))))
397
- (short-dirname (replace-regexp-in-string pattern "~" default-directory))
398
- (short-filename (replace-regexp-in-string pattern "~" router-or-dir))
+ (short-dirname (abbreviate-file-name default-directory))
+ (short-filename (abbreviate-file-name router-or-dir))
399
(buf-name (format "php -S %s:%s -t %s %s"
400
hostname
401
port
0 commit comments