branch: externals/calibre
commit fd1b0e5fd721ddcca3357c37ced0b226bd977a39
Author: Kjartan Óli Ágústsson <[email protected]>
Commit: Kjartan Óli Ágústsson <[email protected]>

    Use message instead of display-warning
    
    * calibre-db.el (calibre--db): Use message instead of display-warning
    when informing the user that the selected library does not exist.
---
 calibre-db.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/calibre-db.el b/calibre-db.el
index 848ecb02dc..cfda81fe0d 100644
--- a/calibre-db.el
+++ b/calibre-db.el
@@ -94,7 +94,7 @@ WHERE books.id = ?"
     (let ((file-name (file-name-concat (calibre--library) "metadata.db")))
       (if (not (file-exists-p file-name))
           (progn
-            (display-warning 'calibre (format "Metedata database %s does not 
exist.  Add some books to the library to create it." file-name))
+            (message "Metedata database %s does not exist.  Add some books to 
the library to create it." file-name)
             (setf calibre--db nil))
         (setf calibre--db
               (sqlite-open

Reply via email to