3a6370311c325a722918aa09dadd3842a34ada29 — Edgar Vincent 5 months ago 88beb0a
Fix (cond ...) in `logos-narrow-dwim'
1 files changed, 5 insertions(+), 4 deletions(-)

M logos.el
M logos.el => logos.el +5 -4
@@ 393,16 393,17 @@ If narrowing is in effect, widen the view."
    (push-mark (point) t nil))
   ((and (use-region-p)
         (null (buffer-narrowed-p)))
         (not (buffer-narrowed-p)))
    (narrow-to-region (region-beginning) (region-end)))
   ((and (logos--page-p)
         (not (buffer-narrowed-p)))
    ;; Use our own narrow to page function because when
    ;; logos-outlines-are-pages is t, the page delimiter
    ;; is included in the region narrowed to.
    (logos--narrow-to-page 0))
   ((null (buffer-narrowed-p))
   ((not (buffer-narrowed-p))
   (t (widen))))

;;;; Optional "focus mode" and utilities