Function: doom-modeline--original-value

doom-modeline--original-value is a natively compiled function defined in doom-modeline-core.el.

Signature

(doom-modeline--original-value SYM)

Documentation

Return the original value for SYM, if any.

If SYM has an original value, return it in a list. Return nil otherwise.

Source Code

;; Defined in /nix/store/1lcicrdd2r4b8rkc91nnn74ymk1jl6yd-emacs-packages-deps/share/emacs/site-lisp/elpa/doom-modeline-20260928.1632/doom-modeline-core.el
(defun doom-modeline--original-value (sym)
  "Return the original value for SYM, if any.

If SYM has an original value, return it in a list.  Return nil
otherwise."
  (let* ((orig-val-expr (get sym 'standard-value)))
    (when (consp orig-val-expr)
      (ignore-errors
        (list
         (eval (car orig-val-expr)))))))