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

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

[nongnu] elpa/visual-fill-column d3f64e7206 050/137: Update README


From: ELPA Syncer
Subject: [nongnu] elpa/visual-fill-column d3f64e7206 050/137: Update README
Date: Sun, 2 Jan 2022 22:59:11 -0500 (EST)

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

    Update README
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 8bdfbbcc3c..f05978c794 100644
--- a/README.md
+++ b/README.md
@@ -26,10 +26,10 @@ Note that Emacs won’t vertically split a window (i.e., into 
two side-by-side w
 
 The width of the margins is adjusted for the text size. However, interactive 
adjustments (e.g., with `text-size-adjust`) cannot be detected by 
`visual-fill-column-mode`, therefore if you adjust the text size while 
`visual-fill-column-mode` is active, the margins won't be adjusted. To remedy 
this, you can force a redisplay, e.g., by switching buffers, splitting and 
unsplitting the window or calling `redraw-display`.
 
-Alternatively, you can advise the function `text-size-adjust` (or whatever 
function you use to adjust the text size) with the function 
`visual-fill-column-adjust-window`:
+Alternatively, you can advise the function `text-size-adjust` (or whatever 
function you use to adjust the text size) with the function 
`visual-fill-column-adjust`:
 
     (advice-add 'text-scale-adjust :after
-      #'visual-fill-column-adjust-window)
+      #'visual-fill-column-adjust)
 
 
 ## Options ##



reply via email to

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