diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-20 23:25:40 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-20 23:25:40 -0500 |
| commit | 4842b7008289a2eca755f61354a0cb22332bdcff (patch) | |
| tree | f626ab8d0fedf0ad2c29baa242be5fc9eaad8306 /modules | |
| parent | 9d2bde704349c35318f87f19b8dfcb361c4a721b (diff) | |
| download | dotemacs-4842b7008289a2eca755f61354a0cb22332bdcff.tar.gz dotemacs-4842b7008289a2eca755f61354a0cb22332bdcff.zip | |
refactor(epub): drop unused col-px binding in nov-center-images
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/calibredb-epub-config.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/calibredb-epub-config.el b/modules/calibredb-epub-config.el index b03d83ed..e0a82245 100644 --- a/modules/calibredb-epub-config.el +++ b/modules/calibredb-epub-config.el @@ -519,8 +519,7 @@ computed column based on the window text area width." (goto-char (point-min)) ;; Work in the selected window showing this buffer (if any). (when-let* ((win (get-buffer-window (current-buffer) t)) - (col-width (window-body-width win)) ;; columns - (col-px (* col-width (window-font-width win)))) + (col-width (window-body-width win))) ;; columns (while (let ((m (text-property-search-forward 'display nil (lambda (_ p) (and (consp p) (eq (car-safe p) 'image)))))) |
