diff options
| -rw-r--r-- | lisp/files.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el index 75a856c6362..945b7ef7371 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -7406,9 +7406,9 @@ and `list-directory-verbose-switches'." | |||
| 7406 | ;; Finishing with-output-to-temp-buffer seems to clobber default-directory. | 7406 | ;; Finishing with-output-to-temp-buffer seems to clobber default-directory. |
| 7407 | (with-current-buffer buffer | 7407 | (with-current-buffer buffer |
| 7408 | (setq default-directory | 7408 | (setq default-directory |
| 7409 | (if (file-directory-p dirname) | 7409 | (if (file-accessible-directory-p dirname) |
| 7410 | (file-name-as-directory dirname) | 7410 | (file-name-as-directory dirname) |
| 7411 | (file-name-directory dirname)))))) | 7411 | (file-name-directory (directory-file-name dirname))))))) |
| 7412 | 7412 | ||
| 7413 | (defun shell-quote-wildcard-pattern (pattern) | 7413 | (defun shell-quote-wildcard-pattern (pattern) |
| 7414 | "Quote characters special to the shell in PATTERN, leave wildcards alone. | 7414 | "Quote characters special to the shell in PATTERN, leave wildcards alone. |