GNU bug report logs -
#12371
24.2.50; macroexpand-all reporting warnings to *Compile-Log*
Previous Next
Full log
View this message in rfc822 format
I've run into the same problems this morning, and this patch solves
the problems for me:
The first one I think just is a line gone missing. The next chunk
extracts (car form) before it's to late, as form goes about being
changed before the closure is being called.
Kind Regards
Troels Nielsen
=== modified file 'lisp/calc/calc.el'
--- lisp/calc/calc.el 2012-09-20 03:44:57 +0000
+++ lisp/calc/calc.el 2012-09-20 07:50:18 +0000
@@ -914,9 +914,9 @@
;; Set up the autoloading linkage.
(let ((name (and (fboundp 'calc-dispatch)
- (autoloadp (symbol-function 'calc-dispatch))))
+ (autoloadp (symbol-function 'calc-dispatch))
+ (nth 1 (symbol-function 'calc-dispatch))))
(p load-path))
;; If Calc files exist on the load-path, we're all set.
(while (and p (not (file-exists-p
(expand-file-name "calc-misc.elc" (car p)))))
=== modified file 'lisp/emacs-lisp/macroexp.el'
--- lisp/emacs-lisp/macroexp.el 2012-09-20 03:29:41 +0000
+++ lisp/emacs-lisp/macroexp.el 2012-09-20 07:51:54 +0000
@@ -148,10 +148,11 @@
(car-safe form)
(symbolp (car form))
(get (car form) 'byte-obsolete-info))
- (macroexp--funcall-and-return
- (lambda () (byte-compile-warn-obsolete (car form)))
- #'ignore ;FIXME: We should `message' something.
- new-form)
+ (let ((sym (car form)))
+ (macroexp--funcall-and-return
+ (lambda () (byte-compile-warn-obsolete sym))
+ #'ignore ;FIXME: We should `message' something.
+ new-form))
new-form)))
(pcase form
(`(cond . ,clauses)
This bug report was last modified 12 years and 161 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.