Function: hack-read-symbol-shorthands

hack-read-symbol-shorthands is a byte-compiled function defined in shorthands.el.gz.

Signature

(hack-read-symbol-shorthands)

Documentation

Compute read-symbol-shorthands from Local Variables section.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/shorthands.el.gz
(defun hack-read-symbol-shorthands ()
  "Compute `read-symbol-shorthands' from Local Variables section."
  ;; FIXME: relies on the `hack-local-variables--find-variables'
  ;; detail of files.el.  That function should be exported,
  ;; possibly be refactored into two parts, since we're only
  ;; interested in basic "Local Variables" parsing.
  ;; FIXME: Disable ourselves temporarily to avoid inf-loops during bootstrap,
  ;; trying to look for shorthands in the files that implement shorthands.
  (let ((hack-read-symbol-shorthands-function #'ignore))
    (alist-get 'read-symbol-shorthands
               (hack-local-variables--find-variables))))