Function: make-doom-modeline--hud-cache--cmacro

make-doom-modeline--hud-cache--cmacro is a function defined in doom-modeline-segments.el.

Signature

(make-doom-modeline--hud-cache--cmacro CL-WHOLE &cl-quote &key ACTIVE INACTIVE TOP-MARGIN BOTTOM-MARGIN)

Documentation

compiler-macro for make-doom-modeline--hud-cache.

Source Code

;; Defined in /nix/store/1lcicrdd2r4b8rkc91nnn74ymk1jl6yd-emacs-packages-deps/share/emacs/site-lisp/elpa/doom-modeline-20260928.1632/doom-modeline-segments.el
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
  ((let*
       ((active (car (cdr (plist-member --cl-rest-- ':active))))
	(inactive (car (cdr (plist-member --cl-rest-- ':inactive))))
	(top-margin
	 (car (cdr (plist-member --cl-rest-- ':top-margin))))
	(bottom-margin
	 (car (cdr (plist-member --cl-rest-- ':bottom-margin)))))
     (progn
       (let ((--cl-keys-- --cl-rest--))
	 (while --cl-keys--
	   (cond
	    ((memq (car --cl-keys--)
		   '(:active :inactive :top-margin :bottom-margin
			     :allow-other-keys))
	     (unless (cdr --cl-keys--)
	       (error "Missing argument for %s" (car --cl-keys--)))
	     (setq --cl-keys-- (cdr (cdr --cl-keys--))))
	    ((car (cdr (memq ':allow-other-keys --cl-rest--)))
	     (setq --cl-keys-- nil))
	    (t
	     (error
	      "Keyword argument %S not one of (:active :inactive :top-margin :bottom-margin)"
	      (car --cl-keys--))))))
       (cl-block make-doom-modeline--hud-cache--cmacro
	 (cl--defsubst-expand
	  '(active inactive top-margin bottom-margin)
	  '(cl-block make-doom-modeline--hud-cache
	     (record 'doom-modeline--hud-cache active inactive
		     top-margin bottom-margin))
	  nil cl-whole nil active inactive top-margin bottom-margin)))))
  (cl-struct-doom-modeline--hud-cache-tags jotain-doc--kind-helpful
					   jotain-doc--sym-pkg
					   jotain-doc--face-syms
					   jotain-doc--var-syms
					   jotain-doc--fun-syms
					   jotain-doc--skipped
					   jotain-doc--pkg-dirs
					   jotain-doc--quick)
  nil
  "compiler-macro for `make-doom-modeline--hud-cache'.\n\n(fn CL-WHOLE &cl-quote &key ACTIVE INACTIVE TOP-MARGIN BOTTOM-MARGIN)"]