0
|
1 (provide 'vm-byteopts)
|
|
2
|
|
3 ;; get the compiler loaded so we can undo some of the things that
|
|
4 ;; happen when it's loaded.
|
|
5 (load "bytecomp" t t nil)
|
|
6 ;; Emacs 19 byte compiler complains about too much stuff by default.
|
|
7 ;; Turn off most of the warnings here.
|
|
8 (setq byte-compile-warnings '(free-vars))
|
|
9 ;; need to use these variables for v18 support.
|
|
10 ;; stifle the compiler.
|
|
11 (put 'inhibit-local-variables 'byte-obsolete-variable nil)
|
|
12 ;; Turn off dynamic docstrings and lazy function loading. This
|
|
13 ;; is a new feature of FSF Emacs 19.29, and is incompatible
|
|
14 ;; with pre-19.29 versions of FSF Emacs and all version of Lucid
|
|
15 ;; Emacs / XEmacs. I like being able to share .elc files between
|
|
16 ;; different v19 Emacses.
|
|
17 (setq byte-compile-dynamic nil)
|
|
18 (setq byte-compile-dynamic-docstrings nil)
|