Commit graph

2075 commits

Author SHA1 Message Date
Stefan Monnier
0b7750a95d (autoload-find-destination): Understand a new format of autoload block where
the file's time-stamp is replaced by its MD5 checksum.
(autoload-generate-file-autoloads): Use MD5 checksum instead of
time-stamp for secondary autoloads files.
(update-directory-autoloads): Remove duplicate entries.
Use time-less-p for time-stamps, as done in autoload-find-destination.
2007-07-07 04:56:00 +00:00
Andreas Schwab
78ddf12f97 (eval-last-sexp): Avoid introducing any
dynamic bindings around the evaluation of the expression.
2007-07-06 17:29:20 +00:00
Thien-Thi Nguyen
c1d478c386 Revert last change. 2007-07-05 20:41:46 +00:00
Thien-Thi Nguyen
ed2f6a47fc Set `binding-is-magic' property on a few symbols.
(byte-compile-side-effect-free-dynamically-safe-ops): New defconst.
(byte-optimize-lapcode): Remove bindings that are not referenced
and certainly will not effect through dynamic scoping.
2007-07-01 16:59:07 +00:00
Stefan Monnier
f61fd6b7c3 (rx-constituents): Fix up `anything'. 2007-06-30 18:49:41 +00:00
Stefan Monnier
9b77469afd Docstring convention fix. 2007-06-29 04:37:34 +00:00
Stefan Monnier
a2fb8c1eda *** empty log message *** 2007-06-28 15:09:48 +00:00
Stefan Monnier
d0aa054221 Docstring and comment fix. 2007-06-28 15:09:39 +00:00
Stefan Monnier
b68f6e48fa Set edebug and indentation before loading
cl-loaddefs.el so that its use of dolist doesn't load cl-macs.
2007-06-28 15:09:21 +00:00
Stefan Monnier
dbc65a5e5b Use cl-loaddefs.el rather than manual autoloads. 2007-06-27 19:17:53 +00:00
Stefan Monnier
d1b8746d6d New file. 2007-06-27 19:14:41 +00:00
Stefan Monnier
7ed162bc3d Set generated-autoload-file to cl-loaddefs.el.
Add autoload cookies on all defs autoloaded manually in cl.el.
2007-06-27 19:13:46 +00:00
Stefan Monnier
323698cc6b Set generated-autoload-file to cl-loaddefs.el.
Add autoload cookies on all defs autoloaded manually in cl.el.
2007-06-27 18:59:03 +00:00
Stefan Monnier
ebacfcc69d Set generated-autoload-file to cl-loaddefs.el.
Add autoload cookies on all defs autoloaded manually in cl.el.
2007-06-27 18:53:15 +00:00
Stefan Monnier
438d6bb606 (autoload-generated-file): Interpret names relative to current dir
for file-local settings.
(autoload-generate-file-autoloads): Add `outfile' arg.
(update-directory-autoloads): Use it to directly call
autoload-generate-file-autoloads instead of going through
update-file-autoloads so we avoid redundant searches and so we can know
the set of buffers changed so we can save them all.
2007-06-26 19:53:12 +00:00
Stefan Monnier
1fad2b12ba (autoload-find-destination): Return nil
rather than throwing `up-to-date'.
(autoload-generate-file-autoloads): Adjust correspondingly.
(update-file-autoloads): Be careful to let-bind
autoload-modified-buffers and adjust to new calling conventions.
(autoload-modified-buffers): Make it a dynamically scoped var.
(update-directory-autoloads): Use file-relative-name instead of
autoload-trim-file-name.
(autoload-insert-section-header): Don't use autoload-trim-file-name
since the file is already relative now.
(autoload-trim-file-name): Remove.
2007-06-26 19:07:14 +00:00
Stefan Monnier
986c5ad548 (autoload-generate-file-autoloads): Make `outbuf' optional.
(update-file-autoloads): Use it.
2007-06-25 16:19:05 +00:00
Stefan Monnier
e66466a6fb (autoload-modified-buffers): New var.
(autoload-find-destination): Keep it uptodate.
(autoload-save-buffers): New fun.
(update-file-autoloads): Use it.  Re-add the "up to date" message.
2007-06-25 05:09:05 +00:00
Stefan Monnier
ceea9b1803 Refactor for upcoming changes.
(autoload-generate-file-autoloads): New function extracted from
generate-file-autoloads.  Use file-relative-name.  Delay computation of
output-start to the first cookie.  Remove done-any, replaced by
output-start.
(generate-file-autoloads): Use it.
(autoload-find-destination): Make use of `begin' var.
2007-06-25 03:48:10 +00:00
Stefan Monnier
57536a8371 Refactor for upcoming changes.
(autoload-find-destination): New function extracted from update-file-autoloads.
(update-file-autoloads): Use it.
2007-06-25 03:01:22 +00:00
Stefan Monnier
3b9795200f (autoload-generated-file): New function.
(update-file-autoloads, update-directory-autoloads): Use it.
(autoload-file-load-name): New function.
(generate-file-autoloads, update-file-autoloads): Use it.
(autoload-find-file): Accept non-absolute argument.  Set default-dir.
(generate-file-autoloads): If the autoloaded form is malformed,
indicate the problem with a warning instead of aborting.
2007-06-23 20:31:33 +00:00
Stefan Monnier
3ab6a7ae05 (byte-compile-current-group, byte-compile-nogroup-warn, byte-compile-file):
Revert part of last change.  Apparently the "warning even if the group is
implicit" is a feature rather than a bug.
2007-06-14 21:25:12 +00:00
Juanma Barranquero
1b96c77f46 (edebug-pop-to-buffer, edebug-display): Remove redundant checks. 2007-06-14 00:10:43 +00:00
Stefan Monnier
b8104a2bf5 (byte-compile-current-group): New var.
(byte-compile-file): Bind it.
(byte-compile-nogroup-warn): Use it to avoid spurious warnings when the
group argument is provided implicitly.
(byte-compile-format-warn, byte-compile-from-buffer)
(byte-compile-insert-header): Don't hardcode point-min==1.
(byte-compile-file-form-require): Remove unused var old-load-list.
(byte-compile-eval): Remove unused vars old-autoloads and hist-nil-new.
2007-06-12 21:03:32 +00:00
Martin Rudalics
7940bf7dc0 (byte-compile-find-cl-functions): Match
against file-name-nondirectory.
Fix text on user customization variables.
2007-06-10 16:15:10 +00:00
Glenn Morris
15ce9dcfa1 (byte-compile-warnings): Add new option `make-local'.
(byte-compile-warnings-safe-p): Add `make-local'.
(byte-compile-make-variable-buffer-local): Allow
byte-compile-warnings to suppress this warning.
2007-06-07 07:00:00 +00:00
Glenn Morris
70bb6a6548 Eric M. Ludlam <eric at siege-engine.com>
(checkdoc-ispell-lisp-words): Remove "iff".
2007-06-07 06:22:02 +00:00
Miles Bader
7a781a5480 Fix tq.el edge case
(tq-queue-pop): Stifle error when a process has died and we are trying to
send a signal to it.  The program using tq.el should periodically check
to see whether the process has died and react appropriately -- this is
not the responsibility of tq.el, and is consistent with the rest of the
tq.el source code.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-779
Creator:  Michael Olson <mwolson@gnu.org>
2007-05-30 14:06:39 +00:00
Glenn Morris
5e3fc9eb8e Nikolaj Schumacher <n_schumacher at web.de> (tiny change)
(rx): Doc fix.
2007-05-29 00:53:54 +00:00
Stefan Monnier
cdcfbcb26a (define-derived-mode): Remove bogus compatibiity code. 2007-05-25 17:00:54 +00:00
Stefan Monnier
b649d2e482 (copyright-names-regexp): New var.
(copyright-update-year): Use it.
2007-05-25 16:58:18 +00:00
Juanma Barranquero
c3536086f5 (define-minor-mode, easy-mmode-define-navigation): Fix typos in docstrings. 2007-05-22 09:49:49 +00:00
Miles Bader
68380acf41 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 13)

   - Update from CVS

2007-05-10  Richard M. Stallman  <rms@gnu.org>

   * lisp/international/iso-cvt.el (iso-cvt-read-only): Ignore arguments.
   (iso-cvt-write-only): Likewise.

   * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
   Fix generated doc string.

   * lisp/startup.el (fancy-splash-text): Add URL of guided tour.
   Adjust horizontal and vertical whitespace.

   * lisp/progmodes/compile.el (compilation-handle-exit):
   Use run-hook-with-args to run compilation-finish-functions.

   * lisp/files.el (file-start-mode-alist): New variable.
   (magic-mode-regexp-match-limit): Doc fix.
   (set-auto-mode): Handle file-start-mode-alist.
   A little cleanup of structure.

2007-05-10  Richard M. Stallman  <rms@gnu.org>

   * lispref/keymaps.texi (Scanning Keymaps): Update where-is-internal example.

   * lispref/help.texi (Keys in Documentation): Add reference to
   Documentation Tips.

   * lispref/files.texi (Format Conversion): TO-FN gets three arguments.

   * lispref/modes.texi (Auto Major Mode): Document file-start-mode-alist.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-743
2007-05-11 04:44:30 +00:00
Richard M. Stallman
7d5e5e7087 (define-minor-mode): Fix generated doc string. 2007-05-10 16:33:50 +00:00
Stefan Monnier
5d08a78606 (ad-special-forms): Remove.
(ad-special-form-p): Use subr-arity.
2007-05-08 16:05:02 +00:00
Miles Bader
589e28cdeb Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 9-10)

   - Update from CVS

2007-05-06  Richard M. Stallman  <rms@gnu.org>

   * lisp/emacs-lisp/eldoc.el (turn-on-eldoc-mode): Doc fix.

2007-05-03  Ryan Yeske  <rcyeske@gmail.com>

   * lisp/net/rcirc.el (rcirc-timeout-seconds): Increase to prevent unwanted
   disconnections.

2007-05-06  Richard M. Stallman  <rms@gnu.org>

   * lispref/processes.texi (Accepting Output): Revert most of previous change.

2007-05-05  Richard M. Stallman  <rms@gnu.org>

   * lispref/processes.texi (Accepting Output): accept-process-output
   uses microseconds, not milliseconds.  But that arg is obsolete.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-734
2007-05-07 01:09:35 +00:00
Richard M. Stallman
e850c5e182 (turn-on-eldoc-mode): Doc fix. 2007-05-06 18:10:35 +00:00
Andreas Schwab
92fbf041e1 (sregexq): Fix doc string quoting. 2007-04-27 15:17:28 +00:00
Richard M. Stallman
44395dee2e (define-globalized-minor-mode): Improve doc string of generated command. 2007-04-22 16:58:23 +00:00
Martin Rudalics
c8286c2ca4 (edebug-pop-to-buffer): Don't select window marked as dedicated. 2007-04-13 06:05:15 +00:00
Chong Yidong
fb67ebdf16 (byte-optimize-form-code-walker): Evaluate pure function calls if possible.
(byte-optimize-all-constp): New function.
2007-04-11 17:10:42 +00:00
Glenn Morris
a746fb658b Markus Triska <markus.triska at gmx.at>:
(byte-compile-char-before): Improve numeric argument case.
(byte-compile-backward-char, byte-compile-backward-word): New
functions, performing rewriting previously done in byte-opt.el.
Fix their "Fixme" item (restriction to numeric arguments).
2007-04-11 03:59:20 +00:00
Glenn Morris
6f7e29f1d2 Markus Triska <markus.triska at gmx.at>:
(byte-optimize-backward-char, byte-optimize-backward-word): Remove -
move to bytecomp.el.
2007-04-11 03:57:11 +00:00
Glenn Morris
17975ebf23 Markus Triska <markus.triska at gmx.at>:
(byte-optimize-char-before): Remove (move to bytecomp.el as
byte-compile-char-before).
2007-04-10 03:58:03 +00:00
Glenn Morris
ec448ae2df Markus Triska <markus.triska at gmx.at>:
(byte-compile-char-before): New function (modified replacement for
byte-optimize-char-before in byte-opt.el).
2007-04-10 03:54:36 +00:00
Chong Yidong
e5a858825f Remove spurious debugging code. 2007-04-09 16:33:01 +00:00
Chong Yidong
c990483162 * emacs-lisp/byte-opt.el (byte-optimize-pure-func): Remove function
(originally checked in as byte-optimize-concat on 1997-11-02).
2007-04-06 18:22:23 +00:00
Chong Yidong
1fbb84daed (byte-optimize-form-code-walker): Print entire form. 2007-04-05 17:57:05 +00:00
Glenn Morris
c420eb369d (top-level): Provide self. 2007-04-05 06:16:18 +00:00
Stefan Monnier
8ae799ba73 (lisp-fill-paragraph): Only obey emacs-lisp-docstring-fill-column in
emacs-lisp-mode.
2007-04-01 19:35:32 +00:00