org-macs: Fix typos in docstrings
* lisp/org-macs.el (org-split-string): (org-string-width): Fix typo in docstring.
This commit is contained in:
parent
40f73953f6
commit
696ec60341
|
@ -51,8 +51,8 @@ Otherwise, return nil."
|
||||||
SEPARATORS is a regular expression. When nil, it defaults to
|
SEPARATORS is a regular expression. When nil, it defaults to
|
||||||
\"[ \f\t\n\r\v]+\".
|
\"[ \f\t\n\r\v]+\".
|
||||||
|
|
||||||
Unlike to `split-string', matching SEPARATORS at the beginning
|
Unlike `split-string', matching SEPARATORS at the beginning and
|
||||||
and end of string are ignored."
|
end of string are ignored."
|
||||||
(let ((separators (or separators "[ \f\t\n\r\v]+")))
|
(let ((separators (or separators "[ \f\t\n\r\v]+")))
|
||||||
(when (string-match (concat "\\`" separators) string)
|
(when (string-match (concat "\\`" separators) string)
|
||||||
(setq string (replace-match "" nil nil string)))
|
(setq string (replace-match "" nil nil string)))
|
||||||
|
@ -124,7 +124,7 @@ text properties."
|
||||||
|
|
||||||
(defun org-string-width (string)
|
(defun org-string-width (string)
|
||||||
"Return width of STRING when displayed in the current buffer.
|
"Return width of STRING when displayed in the current buffer.
|
||||||
Unlike to `string-width', this function takes into consideration
|
Unlike `string-width', this function takes into consideration
|
||||||
`invisible' and `display' text properties."
|
`invisible' and `display' text properties."
|
||||||
(string-width (org-string-display string)))
|
(string-width (org-string-display string)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue