annotate lisp/vm/vm-byteopts.el @ 147:e186c2b7192d xemacs-20-2

Added tag r20-2p1 for changeset 2af401a6ecca
author cvs
date Mon, 13 Aug 2007 09:34:48 +0200
parents 376386a54a3c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 (provide 'vm-byteopts)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 ;; get the compiler loaded so we can undo some of the things that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 ;; happen when it's loaded.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 (load "bytecomp" t t nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 ;; Emacs 19 byte compiler complains about too much stuff by default.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 ;; Turn off most of the warnings here.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 (setq byte-compile-warnings '(free-vars))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 ;; need to use these variables for v18 support.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 ;; stifle the compiler.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 (put 'inhibit-local-variables 'byte-obsolete-variable nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ;; Turn off dynamic docstrings and lazy function loading. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 ;; is a new feature of FSF Emacs 19.29, and is incompatible
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 ;; with pre-19.29 versions of FSF Emacs and all version of Lucid
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 ;; Emacs / XEmacs. I like being able to share .elc files between
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 ;; different v19 Emacses.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 (setq byte-compile-dynamic nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 (setq byte-compile-dynamic-docstrings nil)