(make-symbol (format "%s%d" (or prefix "g") num))))
(defun ignore (&rest _arguments)
- "Do nothing and return nil.
- This function accepts any number of ARGUMENTS, but ignores them.
+ "Ignore ARGUMENTS, do nothing, and return nil.
+ This function accepts any number of arguments in ARGUMENTS.
Also see `always'."
- (declare (completion ignore))
+ ;; Not declared `side-effect-free' because we don't want calls to it
+ ;; elided; see `byte-compile-ignore'.
+ (declare (pure t) (completion ignore))
(interactive)
nil)
(defun always (&rest _arguments)
- "Do nothing and return t.
- This function accepts any number of ARGUMENTS, but ignores them.
+ "Ignore ARGUMENTS, do nothing, and return t.
+ This function accepts any number of arguments in ARGUMENTS.
Also see `ignore'."
+ (declare (pure t) (side-effect-free error-free))
t)
;; Signal a compile-error if the first arg is missing.