Skip to content

Commit 2ea75ea

Browse files
committed
Make sure php-manual-path is a directory
1 parent 28f8430 commit 2ea75ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

php-mode.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,8 @@ current `tags-file-name'."
13671367
(cond ((and (not (string= "" php-completion-file))
13681368
(file-readable-p php-completion-file))
13691369
(php-build-table-from-file php-completion-file))
1370-
(php-manual-path
1370+
((and (not (string= "" php-manual-path))
1371+
(file-directory-p php-manual-path))
13711372
(php-build-table-from-path php-manual-path))
13721373
(t nil))))
13731374
(unless (or php-table tags-table)

0 commit comments

Comments
 (0)