[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cleaning up code
From: |
Stefan Monnier |
Subject: |
Cleaning up code |
Date: |
Wed, 07 Aug 2013 11:57:23 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
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.
- Cleaning up code,
Stefan Monnier <=