Function: mh-strip-package-version
mh-strip-package-version is a macro defined in mh-e.el.gz.
Signature
(mh-strip-package-version ARGS)
Documentation
Strip :package-version keyword and its value from ARGS.
In Emacs versions that support the :package-version keyword, ARGS is returned unchanged.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-e.el.gz
;; Temporary function and data structure used customization.
;; These will be unbound after the options are defined.
(defmacro mh-strip-package-version (args)
"Strip :package-version keyword and its value from ARGS.
In Emacs versions that support the :package-version keyword,
ARGS is returned unchanged."
`(if (boundp 'customize-package-emacs-version-alist)
,args
(let (seen)
(cl-loop for keyword in ,args
if (cond ((eq keyword ':package-version) (setq seen t) nil)
(seen (setq seen nil) nil)
(t t))
collect keyword))))