summaryrefslogtreecommitdiff
path: root/modules/calibredb-epub-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-19 05:35:49 -0500
committerCraig Jennings <c@cjennings.net>2025-10-19 05:35:49 -0500
commitecea24c5d477edfca3f41ad0d58ef27005537abb (patch)
tree6ba1c8bea56bde600d4c469bc0803125ee4b1e32 /modules/calibredb-epub-config.el
parentd926f5a1c626856a6b570236d5526179a9cf0965 (diff)
fix:calibre/epub:fix linter and docstring errors
Diffstat (limited to 'modules/calibredb-epub-config.el')
-rw-r--r--modules/calibredb-epub-config.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/calibredb-epub-config.el b/modules/calibredb-epub-config.el
index 5050807f..8631be8e 100644
--- a/modules/calibredb-epub-config.el
+++ b/modules/calibredb-epub-config.el
@@ -42,6 +42,12 @@
(require 'user-constants) ;; for books-dir
+;; Declare functions from lazy-loaded packages
+(declare-function calibredb-find-create-search-buffer "calibredb" ())
+(declare-function calibredb-search-keyword-filter "calibredb" (keyword))
+(declare-function cj/open-file-with-command "system-utils" (command))
+(declare-function visual-fill-column-mode "visual-fill-column" (&optional arg))
+
;; -------------------------- CalibreDB Ebook Manager --------------------------
(use-package calibredb
@@ -129,7 +135,7 @@
(defun cj/nov-center-images ()
"Center images in the current Nov buffer without modifying text.
-Use line-prefix and wrap-prefix with a space display property aligned to a
+Use `line-prefix' and `wrap-prefix' with a space display property aligned to a
computed column based on the window text area width."
(let ((inhibit-read-only t))
;; Clear any prior centering prefixes first (fresh render usually makes this