diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2025-02-19 20:43:16 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2025-02-19 20:43:16 +0100 |
| commit | 50fdb708074e91bc3d465fbc86c68cbda353b319 (patch) | |
| tree | 869c5df144e412f9e020d76a7af8094b75f4ee6a | |
| parent | 118db73710466ab03708e7511f4bff7827057000 (diff) | |
cape-file: Use substitute-in-file-name when checking for existing directory
| -rw-r--r-- | cape.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -414,7 +414,8 @@ If INTERACTIVE is nil the function acts like a Capf." (when (or prefix (not cape-file-directory-must-exist) (and (string-search "/" file) - (file-exists-p (file-name-directory file)))) + (file-exists-p (file-name-directory + (substitute-in-file-name file))))) (unless (boundp 'comint-unquote-function) (require 'comint)) `( ,beg ,end |
