Function: lisp--el-match-keyword

lisp--el-match-keyword is a byte-compiled function defined in lisp-mode.el.gz.

Signature

(lisp--el-match-keyword LIMIT)

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/lisp-mode.el.gz
(defun lisp--el-match-keyword (limit)
  ;; FIXME: Move to elisp-mode.el.
  (catch 'found
    (while (re-search-forward
            (concat "(\\(" (rx lisp-mode-symbol) "\\)\\_>")
            limit t)
      (let ((sym (intern-soft (match-string 1))))
	(when (and (or (special-form-p sym) (macrop sym))
                   (not (get sym 'no-font-lock-keyword))
                   (lisp--el-funcall-position-p (match-beginning 0)))
	  (throw 'found t))))))