diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-11-15 18:58:44 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-11-15 18:58:44 +0100 |
commit | 696ec60341b6f8190b92dae9a3cee940830a5f21 (patch) | |
tree | d9dea8a60a3dd5c95c0f4f218fa3c3f459bbcd27 | |
parent | 40f73953f661bec0e70d38d6e11f6d39c92504f8 (diff) | |
download | org-mode-696ec60341b6f8190b92dae9a3cee940830a5f21.tar.gz |
org-macs: Fix typos in docstrings
* lisp/org-macs.el (org-split-string):
(org-string-width): Fix typo in docstring.
-rw-r--r-- | lisp/org-macs.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org-macs.el b/lisp/org-macs.el index a39c506..ff6d8c4 100644 --- a/lisp/org-macs.el +++ b/lisp/org-macs.el @@ -51,8 +51,8 @@ Otherwise, return nil." SEPARATORS is a regular expression. When nil, it defaults to \"[ \f\t\n\r\v]+\". -Unlike to `split-string', matching SEPARATORS at the beginning -and end of string are ignored." +Unlike `split-string', matching SEPARATORS at the beginning and +end of string are ignored." (let ((separators (or separators "[ \f\t\n\r\v]+"))) (when (string-match (concat "\\`" separators) string) (setq string (replace-match "" nil nil string))) @@ -124,7 +124,7 @@ text properties." (defun org-string-width (string) "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." (string-width (org-string-display string))) |