bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13931: 24.3.50; latest trunk fails to compile on linux


From: Paul Eggert
Subject: bug#13931: 24.3.50; latest trunk fails to compile on linux
Date: Tue, 12 Mar 2013 15:07:08 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3

Here's a patch that fixes things for me:

2013-03-12  Paul Eggert  <address@hidden>

        Fix bug that broke 'make bootstrap' (Bug#13931).
        This is presumably temporary, until Stefan gets around to a real fix.
        * emacs-lisp/byte-run.el (dont-compile, with-no-warnings):
        Revert 2013-03-10 patch for now.

=== modified file 'lisp/emacs-lisp/byte-run.el'
--- lisp/emacs-lisp/byte-run.el 2013-03-10 21:40:55 +0000
+++ lisp/emacs-lisp/byte-run.el 2013-03-12 21:53:02 +0000
@@ -378,7 +378,7 @@
 (defmacro dont-compile (&rest body)
   "Like `progn', but the body always runs interpreted (not compiled).
 If you think you need this, you're probably making a mistake somewhere."
-  (declare (debug t) (indent 0) (obsolete nil "24.4"))
+  (declare (debug t) (indent 0))
   (list 'eval (list 'quote (if (cdr body) (cons 'progn body) (car body)))))
 
 
@@ -402,9 +402,9 @@
   ;; macroexpansion.
   (list 'quote (eval (cons 'progn body) lexical-binding)))
 
+(put 'with-no-warnings 'lisp-indent-function 0)
 (defun with-no-warnings (&rest body)
   "Like `progn', but prevents compiler warnings in the body."
-  (declare (indent 0))
   ;; The implementation for the interpreter is basically trivial.
   (car (last body)))
 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]