2013-05-30 Glenn Morris <rgm@gnu.org>
+ * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
+
* minibuffer.el (read-file-name-completion-ignore-case):
Move before completion--in-region, for eager macro expansion.
cname
))
+(defsubst eieio-eval-default-p (val)
+ "Whether the default value VAL should be evaluated for use."
+ (and (consp val) (symbolp (car val)) (fboundp (car val))))
+
(defun eieio-perform-slot-validation-for-default (slot spec value skipnil)
"For SLOT, signal if SPEC does not match VALUE.
If SKIPNIL is non-nil, then if VALUE is nil return t instead."
(eieio-default-eval-maybe val))
obj cl 'oref-default))))
-(defsubst eieio-eval-default-p (val)
- "Whether the default value VAL should be evaluated for use."
- (and (consp val) (symbolp (car val)) (fboundp (car val))))
-
(defun eieio-default-eval-maybe (val)
"Check VAL, and return what `oref-default' would provide."
(cond