branch: externals/valign
commit 159ae0fc5d7fec887824030b06c985bc4be9231b
Author: Yuan Fu <[email protected]>
Commit: Yuan Fu <[email protected]>
Fix typo
* valign.el (valign--maybe-render-bar, valign--face-attribute,
valign--put-face-overlay): Fix typo.
---
valign.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/valign.el b/valign.el
index 98a262c..ff1c7d2 100644
--- a/valign.el
+++ b/valign.el
@@ -330,7 +330,7 @@ white space stretching to XPOS, a pixel x position."
(defvar valign-fancy-bar)
(defun valign--maybe-render-bar (point)
- "Make the character at POINT a full hegiht bar.
+ "Make the character at POINT a full height bar.
But only if `valign-fancy-bar' is non-nil."
(when valign-fancy-bar
(valign--render-bar point)))
@@ -338,7 +338,7 @@ But only if `valign-fancy-bar' is non-nil."
(defun valign--fancy-bar-cursor-fn (window prev-pos action)
"Run when point enters or left a fancy bar.
Because the bar is so thin, the cursor disappears in it. We
-expands the bar so the cursor is visible. 'cusor-intangible
+expands the bar so the cursor is visible. 'cursor-intangible
doesn’t work because it prohibits you to put the cursor at BOL.
WINDOW is just window, PREV-POS is the previous point of cursor
@@ -352,7 +352,7 @@ before event, ACTION is either 'entered or 'left."
'display '(space :width (1)))))))
(defun valign--render-bar (point)
- "Make the character at POINT a full hegiht bar."
+ "Make the character at POINT a full-height bar."
(with-silent-modifications
(put-text-property
point (1+ point) 'display '(space :width (1)))