| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
not it has a handler.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
It's a list now.
(byte-compile-not-obsolete-funcs): New variable.
(byte-compile-warn-obsolete): Don't warn about functions if they are in
byte-compile-not-obsolete-funcs.
(byte-compile-variable-ref, byte-compile-defvar): Update for
byte-compile-not-obsolete-vars name-change and list nature.
(byte-compile-maybe-guarded): Suppress warnings about obsolete functions
and variables behind (f)boundp tests.
|
|
|
|
| |
* emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): Don't autoload.
|
| |
|
|
|
|
|
|
|
|
|
| |
(byte-compile-top-level-body, byte-compile-form)
(byte-compile-variable-ref, byte-compile-setq)
(byte-compile-setq-default, byte-compile-body)
(byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
(batch-byte-compile): Give some more local variables with common names
a "bytecomp-" prefix to avoid masking warnings about free variables.
|
| |
|
|
|
|
| |
(elint-log): Handle unknown file positions.
|
|
|
|
|
| |
(elint-add-required-env): Don't beep on error.
(elint-forms): In case of error, return ENV unchanged.
|
|
|
|
| |
Remove initialization entry.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(elint-current-buffer): Set mode-line-process.
(elint-init-env): Handle define-derived-mode.
Fix declare-function with unspecified arglist. Guard against odd
defalias statements (eg iso-insert's 8859-1-map).
(elint-add-required-env): Use a temp buffer.
(elint-form): Just print the function/macro name, not the whole form.
Return env unchanged if we fail to parse a macro.
(elint-forms): Guard against parse errors.
(elint-output): New function, to handle batch mode.
(elint-log-message): Add optional argument. Use elint-output.
(elint-set-mode-line): New function.
|
| |
|
| |
|
| |
|
|
|
|
| |
defined.
|
|
|
|
|
|
|
| |
(byte-compile-file-form-autoload): Don't warn about unknown functions
where the autoload statement comes after the use.
(with-no-warnings): Give it a byte-hunk-handler like than of progn, so
that any handlers inside the body (eg require) are in turn respected.
|
| |
|
|
|
|
| |
tables basic docs, if they don't have any.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(byte-compile-dest-file-function): New option.
(byte-compile-dest-file): Doc fix. Obey byte-compile-dest-file-function.
(byte-compile-cl-file-p): New function.
(byte-compile-eval): Only suppress noruntime warnings about cl functions
if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
(byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
than for file being previously loaded.
(byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
(byte-compile-file-form-require): Handle the case where requiring a file
indirectly causes CL to be loaded.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Change default, since most of our files don't have a history.
(checkdoc-display-status-buffer): Don't use hidden buffers to show to the user.
|
| |
|
|
|
|
|
|
| |
Recognize immutable variables like most-positive-fixnum.
(byte-compile-setq-default): Check and warn if trying to assign
to an immutable variable, or a non-variable.
|
|
|
|
|
| |
* emacs-lisp/re-builder.el (re-builder-unload-function):
Protect against the default value of `major-mode' being nil.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnus/mm-util.el (mm-insert-file-contents):
* org/org-html.el (org-export-as-html):
* org/org-docbook.el (org-export-as-docbook):
* textmodes/reftex.el (reftex-get-file-buffer-force):
* progmodes/verilog-mode.el (verilog-batch-execute-func):
* emulation/viper.el (viper-go-away, viper-set-hooks):
* emacs-lisp/re-builder.el (re-builder-unload-function):
* emacs-lisp/bytecomp.el (byte-compile-file):
* ses.el (ses-unload-function):
* hexl.el (hexl-find-file):
* files.el (normal-mode):
* ehelp.el (with-electric-help):
* autoinsert.el (auto-insert-alist):
* arc-mode.el (archive-mode):
Use (default-value 'major-mode) instead of default-major-mode.
|
|
|
|
|
|
|
|
|
| |
* international/mule.el (load-with-code-conversion):
* emacs-lisp/debug.el (debug):
* ediff-vers.el (ediff-rcs-get-output-buffer):
* dired.el (dired-internal-noselect): Don't let-bind
default-major-mode around code that doesn't use it.
E.g. buffer creation via get-buffer-create doesn't use it.
|
|
|
|
|
| |
Replace uses of default-cursor-in-non-selected-windows
with (default-value 'cursor-in-non-selected-windows). Use with-current-buffer.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(byte-compile-file-form-require): Warn about use of the cl package.
|
|
|
|
| |
Don't warn about use of cl functions in this file.
|
|
|
|
| |
Fix keywords: comment.
|
|
|
|
|
|
|
|
| |
(checkdoc-force-history-flag, checkdoc-arguments-in-order-flag):
Add safe-local-variable booleanp.
(checkdoc-symbol-words): Add safe-local-variable for list of strings.
Clarify docstring that the value is strings not symbols.
(checkdoc-list-of-strings-p): New function.
|
| |
|
| |
|
| |
|
| |
|