Function: dun-listify-string

dun-listify-string is a byte-compiled function defined in dunnet.el.gz.

Signature

(dun-listify-string STRIN)

Documentation

Take a string and change it into a list of lowercase words.

Source Code

;; Defined in /usr/src/emacs/lisp/play/dunnet.el.gz
(defun dun-listify-string (strin)
  "Take a string and change it into a list of lowercase words."
  (let (pos ret-list end-pos)
    (setq pos 0)
    (setq ret-list nil)
    (while (setq end-pos (string-match "[ ,:;]" (substring strin pos)))
      (setq end-pos (+ end-pos pos))
      (if (not (= end-pos pos))
	  (setq ret-list (append ret-list (list
					   (downcase
					    (substring strin pos end-pos))))))
      (setq pos (+ end-pos 1)))
    ret-list))