Function: sh-smie--sh-keyword-p

sh-smie--sh-keyword-p is a byte-compiled function defined in sh-script.el.gz.

Signature

(sh-smie--sh-keyword-p TOK)

Documentation

Non-nil if TOK (at which we're looking) really is a keyword.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/sh-script.el.gz
(defun sh-smie--sh-keyword-p (tok)
  "Non-nil if TOK (at which we're looking) really is a keyword."
  (cond
   ((looking-at "[[:alnum:]_]+=") nil)
   ((member tok '("in" "do")) (sh-smie--sh-keyword-in/do-p tok))
   (t (sh-smie--keyword-p))))