Fix image-dired-tags-db-file void variable error
* lisp/image/image-dired-tags.el (image-dired-sane-db-file): Require 'image-dired'. (Bug#68636)
This commit is contained in:
parent
c450eec07f
commit
51ca049608
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ Return the value of last form in BODY."
|
|||
"Check if `image-dired-tags-db-file' exists.
|
||||
If not, try to create it (including any parent directories).
|
||||
Signal error if there are problems creating it."
|
||||
(require 'image-dired) ; for `image-dired-dir'
|
||||
(or (file-exists-p image-dired-tags-db-file)
|
||||
(let (dir buf)
|
||||
(unless (file-directory-p (setq dir (file-name-directory
|
||||
|
|
Loading…
Add table
Reference in a new issue