Function: lm-keywords

lm-keywords is a byte-compiled function defined in lisp-mnt.el.gz.

Signature

(lm-keywords &optional FILE)

Documentation

Return the keywords given in file FILE, or current buffer if FILE is nil.

The return is a downcase-ed string, or nil if no keywords header. Multi-line keywords are joined up with a space between each line.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/lisp-mnt.el.gz
(defun lm-keywords (&optional file)
  "Return the keywords given in file FILE, or current buffer if FILE is nil.
The return is a `downcase'-ed string, or nil if no keywords
header.  Multi-line keywords are joined up with a space between
each line."
  (lm-with-file file
    (let ((keywords (lm-header-multiline "keywords")))
      (and keywords
	   (mapconcat #'downcase keywords " ")))))