Trim whitespace in lm-keywords-list
* emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace around keywords with extra `split-string' argument.
This commit is contained in:
parent
22800ae936
commit
39eb08995a
2 changed files with 7 additions and 2 deletions
|
@ -461,8 +461,8 @@ each line."
|
|||
(let ((keywords (lm-keywords file)))
|
||||
(if keywords
|
||||
(if (string-match-p "," keywords)
|
||||
(split-string keywords ",[ \t\n]*" t)
|
||||
(split-string keywords "[ \t\n]+" t)))))
|
||||
(split-string keywords ",[ \t\n]*" t "[ ]+")
|
||||
(split-string keywords "[ \t\n]+" t "[ ]+")))))
|
||||
|
||||
(defvar finder-known-keywords)
|
||||
(defun lm-keywords-finder-p (&optional file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue