emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/visual-fill-column 7ec32c974a 027/137: Some optical code i


From: ELPA Syncer
Subject: [nongnu] elpa/visual-fill-column 7ec32c974a 027/137: Some optical code improvements.
Date: Sun, 2 Jan 2022 22:59:09 -0500 (EST)

branch: elpa/visual-fill-column
commit 7ec32c974ae60251150c4111d7bdcb4cb4b84762
Author: Joost Kremers <joostkremers@fastmail.fm>
Commit: Joost Kremers <joostkremers@fastmail.fm>

    Some optical code improvements.
---
 visual-fill-column.el | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/visual-fill-column.el b/visual-fill-column.el
index 3ab581d71b..154197ff70 100644
--- a/visual-fill-column.el
+++ b/visual-fill-column.el
@@ -26,11 +26,11 @@
 
 ;;; Commentary:
 
-;; `visual-fill-column-mode' is a small Emacs minor mode that mimics the
-;; effect of `fill-column' in `visual-line-mode'. Instead of wrapping lines
-;; at the window edge, which is the standard behaviour of
-;; `visual-line-mode', it wraps lines at `fill-column'. If `fill-column' is
-;; too large for the window, the text is wrapped at the window edge.
+;; `visual-fill-column-mode' is a small Emacs minor mode that mimics the 
effect of `fill-column'
+;; in `visual-line-mode'.  Instead of wrapping lines at the window edge, which
+;; is the standard behaviour of `visual-line-mode', it wraps lines at
+;; `fill-column'.  If `fill-column' is too large for the window, the text is
+;; wrapped at the window edge.
 
 ;;; Code:
 
@@ -127,12 +127,13 @@ right divider.  WINDOW defaults to the selected window."
          (right (if visual-fill-column-center-text
                     (/ margins 2)
                   margins)))
+
     ;; put an explicitly R2L buffer on the right side of the window
     (when (and (eq bidi-paragraph-direction 'right-to-left)
                (= left 0))
       (setq left right)
       (setq right 0))
-    ;; check values and set the margins
+
     (set-window-margins window left right)))
 
 (provide 'visual-fill-column)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]