Function: hypb:set-raw-syntax-descriptor

hypb:set-raw-syntax-descriptor is a byte-compiled function defined in hypb.el.

Signature

(hypb:set-raw-syntax-descriptor CHAR RAW-DESCRIPTOR &optional SYNTAX-TABLE)

Documentation

Set the syntax of CHAR to RAW-DESCRIPTOR (syntax table value).

Set in the current syntax table or optional SYNTAX-TABLE. Return the RAW-DESCRIPTOR. Use the syntax-after function to retrieve the raw descriptor for a buffer position.

Similar to modify-syntax-entry but uses a raw descriptor previously extracted from a syntax table to set the value rather than a string.

Syntax tables are char-tables whose values are encoded as raw descriptors.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hypb.el
(defun hypb:set-raw-syntax-descriptor (char raw-descriptor &optional syntax-table)
  "Set the syntax of CHAR to RAW-DESCRIPTOR (syntax table value).
Set in the current syntax table or optional SYNTAX-TABLE.  Return
the RAW-DESCRIPTOR.  Use the `syntax-after' function to retrieve
the raw descriptor for a buffer position.

Similar to `modify-syntax-entry' but uses a raw descriptor
previously extracted from a syntax table to set the value rather
than a string.

Syntax tables are char-tables whose values are encoded as raw
descriptors."
  (aset (or syntax-table (syntax-table)) char raw-descriptor))