Function: hsys-org-get-value

hsys-org-get-value is a byte-compiled function defined in hsys-org.el.

Signature

(hsys-org-get-value ATTRIBUTE)

Documentation

Within the current Org context, return the ATTRIBUTE value.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hsys-org.el
(defun hsys-org-get-value (attribute)
  "Within the current Org context, return the ATTRIBUTE value."
  (let ((src-block-info (org-babel-get-src-block-info)))
    (when src-block-info
      (if (memq attribute '(:lang :language))
	  ;; Return lowercase string of programming language name
	  (car src-block-info)
	(cdr (assq attribute (caddr src-block-info)))))))