fixed typo in docstring
This commit is contained in:
parent
4883d7ecb1
commit
c08ae8f222
3
conf.org
3
conf.org
|
@ -256,8 +256,7 @@ event of an error or nonlocal exit."
|
||||||
** functions
|
** functions
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(defun nd/filter-list-prefix (prefix str-list)
|
(defun nd/filter-list-prefix (prefix str-list)
|
||||||
"Return a subset of tags-list whose first character matches prefix.
|
"Return a subset of STR-LIST whose first characters are PREFIX."
|
||||||
tags-list defaults to org-tag-alist if not given."
|
|
||||||
(seq-filter (lambda (i)
|
(seq-filter (lambda (i)
|
||||||
(and (stringp i)
|
(and (stringp i)
|
||||||
(string-prefix-p prefix i)))
|
(string-prefix-p prefix i)))
|
||||||
|
|
Loading…
Reference in New Issue