[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)
- [nongnu] elpa/visual-fill-column afa1615420 082/137: Fix README IV, (continued)
- [nongnu] elpa/visual-fill-column afa1615420 082/137: Fix README IV, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 141eaf1d1b 111/137: Update version number., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column f7eb2139ea 001/137: Initial commit, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 1bb832f3a4 011/137: Change titel of README, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column a20db331f2 014/137: Fix error in `visual-fill-column-disable-fringe'., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 9863702b53 015/137: Use `fringes-outside-margins` instead of disabling the fringes., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column db1ca8f337 016/137: Use set-window-fringes to set fringes outside the margins, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 60d8a031d5 017/137: Do not use `window-total-width'., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 8b98476819 018/137: Update README.md, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 5908ad2422 019/137: Use package name in installation instructions, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 7ec32c974a 027/137: Some optical code improvements.,
ELPA Syncer <=
- [nongnu] elpa/visual-fill-column 6e6b71177d 025/137: Make calls to `add-hook' a bit more self-documenting., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 4223f9b6f9 034/137: Add PIXELWISE argument to visual-fill-column-split-window, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 62ecc38450 036/137: Make arguments of `visual-fill-column--split-window' optional., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 54b941caa6 057/137: Fix code quote in README., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 4b903a0adb 002/137: Implement visual-fill-column, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 15b5cd1410 007/137: Remove option to use a fraction for `visual-fill-column-width'., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column a017cb2a1e 013/137: Update version number to 1.2, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column ccecfac6ca 029/137: Handle window splitting., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 5e698470b6 038/137: Set window parameter properly in vfc-adjust-window, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 865c9b32ea 043/137: Merge pull request #16 from wbolster/patch-1, ELPA Syncer, 2022/01/02