Function: hui-select-get-syntax-table

hui-select-get-syntax-table is a byte-compiled function defined in hui-select.el.

Signature

(hui-select-get-syntax-table)

Documentation

Return syntax table to use for syntactic selection based on major-mode.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260822.1645/hui-select.el
(defun hui-select-get-syntax-table ()
  "Return syntax table to use for syntactic selection based on `major-mode'."
  (if (or (memq major-mode hui-select-ignore-quoted-sexp-modes)
          (and (derived-mode-p 'prog-mode)
	       ;; Not within a comment
	       (not (nth 4 (syntax-ppss)))))
      (syntax-table)
    hui-select-syntax-table))