Commit graph

392 commits

Author SHA1 Message Date
Stefan Monnier
14acf2f55e * gnus/nnheader.el (nnheader-find-file-noselect):
* 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.
2009-08-28 17:02:53 +00:00
Stefan Monnier
636a36a070 (byte-compile-lapcode): Fix up last change. 2009-08-26 14:47:23 +00:00
Stefan Monnier
8476cfaf3d (byte-compile-lapcode): Signal overflow. 2009-08-26 02:56:05 +00:00
Glenn Morris
d280e2c3f0 (byte-compile-file-form-require): Tweak previous change. 2009-08-25 07:36:49 +00:00
Glenn Morris
bac9c66cc7 (byte-compile-eval): Fix test for cl in load-history for absolute file-names.
(byte-compile-file-form-require): Warn about use of the cl package.
2009-08-25 07:28:16 +00:00
Stefan Monnier
dfd4e69361 (byte-compile-interactive-only-functions): Add goto-line. 2009-08-10 16:28:18 +00:00
Seiji Zenitani
8c914fdb18 fix message: new multibyte format requires 23 2009-08-06 00:07:12 +00:00
Glenn Morris
a2b3fdbf3a (byte-compile-from-buffer, byte-compile-output-file-form)
(byte-compile-output-docform, byte-compile-file-form-defmumble)
(byte-compile-output-as-comment):
Give some more local variables with common names a "bytecomp-" prefix,
so as not to shadow things during compilation.
2009-07-23 02:53:29 +00:00
Stefan Monnier
5692cc8c4f (emacs-lisp-file-regexp): Fix up EOB. 2009-02-02 03:27:30 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Juanma Barranquero
2b9c3b1284 * emacs-lisp/bytecomp.el (byte-compile-dynamic-docstrings)
(byte-compile-output-docform): Reflow docstrings.
  (no-byte-compile): Fix typo in docstring.
  (byte-recompile-directory, compile-defun): Doc fixes.
  (emacs-lisp-file-regexp, byte-compile-verbose)
  (byte-compile-compatibility, byte-optimize, byte-compile-delete-errors)
  (byte-compile-dynamic-docstrings, byte-optimize-log)
  (byte-compile-error-on-warn, byte-compile-warnings)
  (byte-compile-generate-call-tree, byte-compile-call-tree-sort):
  Remove * from defcustom docstrings.
2008-11-20 12:13:49 +00:00
Chong Yidong
24ae8da4b3 (byte-compile-associative)
(byte-compile-minus, byte-compile-quo): If there are more than two
operands, don't use binary operation code (bug#1334).
2008-11-14 18:08:10 +00:00
Dan Nicolaescu
7c2fb837ec * bitmaps/README:
* xfns.c:
* termcap.c:
* term.c:
* syswait.h:
* systty.h:
* systime.h:
* syssignal.h:
* sysdep.c:
* process.h:
* process.c:
* print.c:
* ndir.h:
* lread.c:
* keyboard.c:
* getpagesize.h:
* floatfns.c:
* fileio.c:
* emacs.c:
* doc.c:
* dispnew.c:
* dired.c:
* data.c:
* callproc.c:
* buffer.c:
* README:
* Makefile.in:
* s/template.h:
* s/msdos.h:
* m/vax.h: Remove VMS support.
* s/vms.h:
* vlimit.h:
* uaf.h:
* temacs.opt:
* param.h:
* ioctl.h: Remove file.

* descrip.mms:
* compile.com: Remove file.
* Create.c: Remove VMS support.

* message.el (Module):

* gnus-start.el (Module):

* gnus-registry.el (Module):

* textmodes/texinfmt.el:
* nxml/nxml-enc.el:
* mail/feedmail.el:
* international/mule.el:
* international/latexenc.el:
* emulation/viper-util.el:
* emulation/viper-init.el:
* emulation/viper-ex.el:
* emacs-lisp/bytecomp.el:
* version.el:
* subr.el:
* startup.el:
* sort.el:
* shadowfile.el:
* recentf.el:
* printing.el:
* paths.el:
* minibuffer.el:
* ls-lisp.el:
* loadup.el:
* hippie-exp.el:
* finder.el:
* files.el:
* ediff-util.el:
* ediff-ptch.el:
* ediff-init.el:
* ediff-diff.el:
* dired.el:
* dired-aux.el:
* cus-edit.el:
* bindings.el:
* arc-mode.el:
* add-log.el: Remove VMS support.
* obsolete/vmsproc.el:
* obsolete/vms-pmail.el:
* obsolete/vms-patch.el: Remove file.

* etags.c:
* emacsclient.c: Remove VMS support.

* termcap.src: Remove file.
* README:
* PROBLEMS:
* MACHINES: Remove VMS info.

* ediff.texi: Remove VMS support.

* os.texi:
* intro.texi:
* files.texi: Remove VMS support.

* emacs.texi: Remove VMS support.

* make-dist:
* README: Remove VMS support.
* vms: Remove directory.
2008-07-31 05:33:56 +00:00
Glenn Morris
d6dc41d523 (byte-compile-maybe-guarded): Doc fix. 2008-06-13 04:16:23 +00:00
Stefan Monnier
ab5111e3df (byte-compile-current-group): New var.
(byte-compile-file): Initialize it.
(byte-compile-nogroup-warn): Keep track of the current group.
2008-06-08 02:07:25 +00:00
Glenn Morris
d6cba7ae45 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:21:21 +00:00
Glenn Morris
f279aaab80 (byte-compile-file): Doc fix. 2008-04-27 01:41:46 +00:00
Glenn Morris
212df36327 Johan Bockg� <bojohan at gnu.org>
(byte-compile-find-cl-functions): Simplify.  Collect `defun' and
`autoload' entries.  Avoid modifying load-history.
2008-04-27 01:17:03 +00:00
Glenn Morris
5791bedf99 (byte-compile-warn-obsolete): New function.
(byte-compile-obsolete, byte-compile-variable-ref): Use it.
2008-04-26 02:32:51 +00:00
Juanma Barranquero
daedb19635 (byte-compile-warnings-safe-p): Use `byte-compile-warning-types'.
Add docstring.
2008-03-31 11:02:04 +00:00
Juanma Barranquero
d87e5a2565 (byte-compile-obsolete): If no replacement is provided,
don't print "use nil instead".
2008-03-26 12:18:17 +00:00
Stefan Monnier
86408b246c (byte-compile-maybe-guarded):
Remove optimization that was working around the form-code-walker bug.
2008-03-03 03:40:04 +00:00
Glenn Morris
1c3b663ff9 This is Dan's patch from
http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-02/msg00134.html
changed to use a common `bytecomp' prefix.

(byte-recompile-directory, byte-compile-file, batch-byte-compile)
(batch-byte-compile-file): Give a `bytecomp-' prefix to local
variables with common names.
2008-03-01 21:11:37 +00:00
Glenn Morris
c01e3aa1dd (byte-compile-maybe-guarded): Restore code commented out 2007-11-10. 2008-03-01 20:07:28 +00:00
Kenichi Handa
da9e269f68 (byte-compile-lapcode): Use
unibyte-string instead of string-make-unibyte.
2008-02-12 11:25:01 +00:00
Miles Bader
430d2ee291 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8b72699e88 Add 2008 to copyright years. 2008-01-07 01:14:52 +00:00
Dan Nicolaescu
b38f5e6fea * mouse.el (mouse-popup-menubar): Fix typo.
* emacs-lisp/bytecomp.el (byte-compile-from-buffer): Move one more
form inside with-current-buffer.

* progmodes/antlr-mode.el (provide): Move to the end of file.
(require): Don't require font-lock and compile.
(outline-level, imenu-use-markers, imenu-create-index-function):
Move declarations to top level.
(cond-emacs-xemacs-macfn): Declare for compiler.

* vc-bzr.el (vc-bzr-root):
* vc-arch.el (vc-arch-root): Only set a property if the file is
managed by this backend.

* vc-hg.el (vc-hg-state): Support the new status code for
up-to-date.
2008-01-04 08:34:15 +00:00
Richard M. Stallman
a5832373fd (byte-compile-from-buffer): Call byte-compile-warn-about-unresolved-functions
outside the with-current-buffer.
(byte-compile-insert-header): Use with-current-buffer.
2008-01-04 05:35:12 +00:00
Miles Bader
0bd5084171 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
2007-12-06 09:51:45 +00:00
Glenn Morris
2c52d7a3b2 Remove directory part from filenames in function declarations. 2007-12-06 04:05:51 +00:00
Glenn Morris
a342aca45c (byte-compile-declare-function): Remove declared function from
byte-compile-noruntime-functions.
2007-12-05 03:36:23 +00:00
Glenn Morris
7628b337d8 (byte-compile-declare-function): Reverse branches of if statement. 2007-12-02 21:41:33 +00:00
Glenn Morris
abc11cbb56 (byte-compile-declare-function): Third argument to declare-function
must be a list to specify arglist.
2007-11-30 07:45:18 +00:00
Juanma Barranquero
516b365326 (batch-byte-recompile-directory): Doc fix. 2007-11-26 15:38:18 +00:00
Juanma Barranquero
2867910524 (batch-byte-recompile-directory): Doc fix. 2007-11-26 15:37:00 +00:00
Stefan Monnier
2546bcdd94 (byte-compile-file-form-custom-declare-variable): Simplify. 2007-11-22 18:03:05 +00:00
Glenn Morris
db28340206 (compilation-forget-errors): Declare as function. 2007-11-19 00:10:38 +00:00
Glenn Morris
d97362d779 (byte-compile-declare-function): New function, byte-hunk-handler for
declare-function.
(byte-compile-callargs-warn): Handle declared functions.
2007-11-17 03:46:23 +00:00
Miles Bader
f23d76bdef Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-283
2007-11-11 00:56:44 +00:00
Dan Nicolaescu
70f4194508 * emacs-lisp/byte-opt.el (byte-optimize-featurep): Optimize
(featurep 'emacs) to t.

* emacs-lisp/bytecomp.el (byte-compile-find-bound-condition): New
function.
(byte-compile-maybe-guarded): Use it to also look for bound
symbols inside `and' forms.  Comment out non-working code that was
trying to avoid warnings for XEmacs code.
2007-11-10 08:05:15 +00:00
Stefan Monnier
b7c76a30f9 (byte-compile-file-form-define-abbrev-table): New function. 2007-11-09 15:57:46 +00:00
Glenn Morris
798bd43727 (byte-compile-disable-warning)
(byte-compile-enable-warning): Doc fix.
2007-10-30 06:23:06 +00:00
Glenn Morris
cf637a3431 (byte-compile-warnings): Document `not'.
(byte-compile-warnings-safe-p): Handle `not'.
(byte-compile-warning-enabled-p, byte-compile-disable-warning)
(byte-compile-enable-warning): New functions.
(byte-compile-eval-before-compile)
(byte-compile-file-form-require): Use byte-compile-disable-warning.
(byte-compile-close-variables): Locally bind byte-compile-warnings,
but do not modify it.
(byte-compile-eval, byte-compile-obsolete)
(byte-compile-warn-about-unresolved-functions)
(byte-compile-file-form-defvar)
(byte-compile-file-form-custom-declare-variable)
(byte-compile-file-form-require)
(byte-compile-file-form-defmumble, byte-compile-lambda)
(byte-compile-form, byte-compile-normal-call)
(byte-compile-variable-ref, byte-compile-defvar)
(byte-compile-make-variable-buffer-local):
Use byte-compile-warning-enabled-p.
2007-10-28 23:53:06 +00:00
Miles Bader
18cd1f1a08 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 902-908)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 131-137)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 261-262)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-278
2007-10-27 09:12:07 +00:00
Glenn Morris
6a83140588 (byte-compile-warnings): Autoload the safe-local-variable property. 2007-10-26 07:35:31 +00:00
Glenn Morris
b1ac90c50a (byte-compile-warnings): Autoload the safe-local-variable property. 2007-10-26 07:34:46 +00:00
Miles Bader
c73bd236f7 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 866-879)

   - Merge multi-tty branch
   - Update from CVS
   - Merge from emacs--rel--22

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-257
2007-10-11 16:24:58 +00:00
Glenn Morris
8accceac6a (byte-compile-warning-types): Add mapcar and make-local. 2007-09-21 07:17:23 +00:00