unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Cleaning up code
@ 2013-08-07 15:57 Stefan Monnier
  2013-08-13 15:17 ` Michael Albinus
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2013-08-07 15:57 UTC (permalink / raw)
  To: emacs-devel

If you feel like cleaning up some code, but are not sure where to look,
try the patch below and then bootstrap Emacs.  That should give you
enough warnings to keep you busy for a while.


        Stefan


=== modified file 'lisp/Makefile.in'
--- lisp/Makefile.in	2013-07-23 22:55:38 +0000
+++ lisp/Makefile.in	2013-08-05 22:00:36 +0000
@@ -42,7 +42,8 @@
 EMACSOPT = -batch --no-site-file --no-site-lisp
 
 # Extra flags to pass to the byte compiler
-BYTE_COMPILE_EXTRA_FLAGS =
+BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-force-lexical-warnings t)'
+
 # For example to not display the undefined function warnings you can use this:
 # BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))'
 # The example above is just for developers, it should not be used by default.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-08-15 17:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-07 15:57 Cleaning up code Stefan Monnier
2013-08-13 15:17 ` Michael Albinus
2013-08-13 16:30   ` Stefan Monnier
2013-08-15  8:40     ` Michael Albinus
2013-08-15 14:37       ` Stefan Monnier
2013-08-15 17:05         ` Michael Albinus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).