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:
Ted Zlatanov 2013-12-04 16:32:05 -05:00
parent 22800ae936
commit 39eb08995a
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
* emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
around keywords with extra `split-string' argument.
2013-12-04 Martin Rudalics <rudalics@gmx.at>
* windmove.el (windmove-other-window-loc): Handle navigation

View file

@ -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)