From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Cleaning up code
Date: Wed, 07 Aug 2013 11:57:23 -0400 [thread overview]
Message-ID: <jwvhaf15wca.fsf-monnier+emacs@gnu.org> (raw)
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.
next reply other threads:[~2013-08-07 15:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-07 15:57 Stefan Monnier [this message]
2013-08-13 15:17 ` Cleaning up code 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvhaf15wca.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.