helm: Fix ambrevar/helm-locate-create-or-update-db error message

master
Pierre Neidhardt 2018-03-27 11:25:18 +05:30
parent 0214ddf008
commit 0c30f62b6f
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ Requires `call-process-to-string' from `functions'."
root))
0)
(message "locatedb file `%s' %s" db (if was-missing "created" "updated"))
(error "Failed to %s locatedb file `%s'" db (if was-missing "create" "update"))))))
(error "Failed to %s locatedb file `%s'" (if was-missing "create" "update") db)))))
(defun ambrevar/helm-locate-meta (&optional update)
"Like `helm-locate' but also use the databases found in /media and /run/media.
With prefix argument, UPDATE the databases."