Glenn Morris
122bcd7ef2
(check-declare-locate, check-declare-verify): Handle `external' files.
...
(check-declare-errmsg): New function.
(check-declare-verify, check-declare-file, check-declare-directory):
Use check-declare-errmsg to report the number of problems.
2007-11-29 04:23:49 +00:00
Glenn Morris
4ab4de9ce6
(check-declare-locate): Reflow doc.
...
(check-declare-verify): Handle fset.
2007-11-28 03:53:44 +00:00
Glenn Morris
a6e02a86c7
(check-declare-locate): Handle compressed files.
...
(check-declare-verify): Handle define-generic-mode,
define-global(ized)-minor-mode, define-obsolete-function-alias.
2007-11-27 03:54:47 +00:00
Stefan Monnier
61e2160737
(end-of-defun): Restructure so that end-of-defun-function is called
...
consistently, even for negative arguments.
(end-of-defun-function): Default to forward-sexp.
2007-11-26 20:27:12 +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
Glenn Morris
42e32ed89c
(easy-menu-define): Doc fix.
2007-11-26 03:49:23 +00:00
Glenn Morris
faf7b3960e
Comment.
2007-11-24 03:11:14 +00:00
Glenn Morris
e1b0f17b8d
(declare-function): Doc fix.
2007-11-24 03:09:55 +00:00
Stefan Monnier
50bfa18a09
(beginning-of-defun-raw): Pass `arg' down to beginning-of-defun-function.
2007-11-22 22:12:22 +00:00
Glenn Morris
e3e7216217
(declare-function): Doc fix.
2007-11-22 20:26:33 +00:00
Glenn Morris
7d4184ba6f
(check-declare-locate): New function.
...
(check-declare-scan): Use check-declare-locate.
(check-declare-verify): No longer adjust fnfile, now
check-declare-locate does it.
2007-11-22 20:25:51 +00:00
Stefan Monnier
2546bcdd94
(byte-compile-file-form-custom-declare-variable): Simplify.
2007-11-22 18:03:05 +00:00
Glenn Morris
64cea5550d
(check-declare-verify): Fix previous change. Warn if could not find
...
an arglist to check.
2007-11-22 06:53:24 +00:00
Glenn Morris
ad95f32a98
(check-declare-verify): Implement arglist checking for C files.
2007-11-22 06:20:53 +00:00
Glenn Morris
9769d49f91
(check-declare-scan): Expand .c files relative to src/ directory.
...
(check-declare-verify): Handle .c files (without arg checking).
2007-11-22 04:19:48 +00:00
Glenn Morris
3ab75caec0
(declare-function): Doc fix.
2007-11-22 04:17:44 +00:00
Jason Rumney
c2ca78bc31
(declare-function): Return nil.
2007-11-21 22:40:10 +00:00
Glenn Morris
2ae3bb8564
(check-declare-verify): Skip C files for now. Handle
...
define-minor-mode, and defalias (with no argument checking).
2007-11-21 09:03:16 +00:00
Miles Bader
d4aa48db8e
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-937
2007-11-21 04:55:58 +00:00
Richard M. Stallman
b1dfec553a
Comment change.
2007-11-20 12:38:26 +00:00
Dan Nicolaescu
6d00e226c3
* progmodes/python.el (info-lookup-maybe-add-help):
...
* progmodes/ps-mode.el (doc-view-minor-mode):
* mail/emacsbug.el (Info-menu, Info-goto-node):
* emulation/viper-keym.el (viper-ex)
(viper-normalize-minor-mode-map-alist, viper-set-mode-vars-for):
* emulation/viper-cmd.el (widget-type, widget-button-press)
(viper-set-hooks):
* emacs-lisp/tcover-unsafep.el (unsafep-function):
* emacs-lisp/tcover-ses.el (ses-set-curcell, ses-update-cells)
(ses-load, ses-vector-delete, ses-create-header-string)
(ses-read-cell, ses-read-symbol, ses-command-hook, ses-jump):
* emacs-lisp/gulp.el (mail-subject, mail-send): Declare as
functions.
* url-mailto.el (mail-send-and-exit):
* url-http.el (url-dav-file-attributes):
* url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal):
(url-generate-unique-filename): Declare as functions.
2007-11-20 07:56:02 +00:00
Glenn Morris
7a6e37202c
(declare-function): Define as a no-op, for compatibility with Emacs 23.
2007-11-20 04:05:18 +00:00
Glenn Morris
82b3ac7a99
(check-declare-verify): Tweak regexp for end of function-name. Handle
...
define-derived-mode.
2007-11-20 03:53:33 +00:00
Dan Nicolaescu
153ef845b8
* progmodes/idlw-help.el: Require browse-url unconditionally, it
...
is available by default.
(idlwave-help-browse-url-available): Change default to t.
* emulation/edt.el (defgroup, defcustom): Remove definition.
(eval-when-compile): Remove.
(c-mark-function):
* textmodes/reftex-dcr.el (bibtex-beginning-of-entry):
* textmodes/fill.el (comment-search-forward)
(comment-string-strip):
* progmodes/prolog.el (comint-mode, comint-send-string)
(comint-send-region, comint-send-eof):
* progmodes/dcl-mode.el (imenu-default-create-index-function):
* emulation/viper-util.el (viper-forward-Word):
* emulation/vi.el (c-mark-function):
* emulation/edt-vt100.el (vt100-wide-mode):
* emacs-lisp/timer.el (diary-entry-time): Declare as functions.
* url-mailto.el (mail-send-and-exit):
* url-http.el (url-dav-file-attributes):
* url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal):
Declare as functions.
* url-privacy.el (url-device-type): Define unconditionally.
2007-11-20 00:57:10 +00:00
Glenn Morris
db28340206
(compilation-forget-errors): Declare as function.
2007-11-19 00:10:38 +00:00
Glenn Morris
f3a4724d5c
(check-declare-verify): If fnfile does not exist, try adding `.el'
...
extension. Also search for defsubsts.
2007-11-19 00:09:20 +00:00
Glenn Morris
87b8db2bf3
New file.
2007-11-17 03:47:59 +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
Glenn Morris
aefbd1608c
(declare-function): New macro.
2007-11-17 03:45:17 +00:00
Glenn Morris
43ab13de0b
(authors-process-lines): Remove.
...
(authors): Use process-lines rather than authors-process-lines.
2007-11-17 03:43:54 +00:00
Juanma Barranquero
efb67a5e8d
(ring-size, ring-p, ring-insert, ring-length, ring-empty-p): Use c[ad]dr.
...
(ring-plus1): Use `1+'.
(ring-minus1): Use `zerop'.
(ring-remove): Use c[ad]dr. Use `when'.
(ring-copy): Use c[ad]dr. Use `let', not `let*'.
(ring-ref): Use `let', not `let*'.
(ring-insert-at-beginning): Use c[ad]dr. Doc fix.
(ring-insert+extend): Use c[ad]dr. Fix typo in docstring.
(ring-member): Simplify. Doc fix.
(ring-convert-sequence-to-ring): Simplify.
2007-11-17 02:51:49 +00:00
Juanma Barranquero
82bb564322
(backquote): Improve argument/docstring consistency.
2007-11-17 02:49:49 +00:00
Juanma Barranquero
f31d0424ea
Comment change.
2007-11-14 11:18:54 +00:00
Dan Nicolaescu
d8947b79fc
* emacs-lisp/byte-opt.el (byte-compile-trueconstp): Handle more
...
constant forms.
(byte-compile-nilconstp): New function.
(byte-optimize-cond): Kill subsequent branches when a branch is
know to be taken or not taken.
(byte-optimize-if): Use byte-compile-nilconstp instead of hand
coding.
2007-11-13 16:10:14 +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
Miles Bader
c12ecb0af9
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-923
2007-11-09 09:45:30 +00:00
Dan Nicolaescu
8b1e0dff4e
* emacs-lisp/lselect.el: Move to obsolete/lselect.el.
...
* obsolete/lselect.el: Do not warn about unknown functions.
2007-11-02 06:56:36 +00:00
Glenn Morris
68013cfaa5
(authors-scan-change-log)
...
(authors-scan-el): Don't enable local eval; enable only safe local
variables, without querying.
2007-11-01 07:08:24 +00:00
Juanma Barranquero
66eed8276d
(cl-cannot-unload): Remove function.
...
(cl-unload-hook): Remove variable.
(cl-unload-function): New-style unload function,
adapted from `cl-cannot-unload'.
2007-10-31 12:46:47 +00:00
Vinicius Jose Latorre
59e1bd2913
Default argument for find-library
2007-10-31 12:46:29 +00:00
Juanma Barranquero
41a79faa2b
(elp-unload-hook): Remove function and variable.
...
(elp-unload-function): New-style unload function,
adapted from `elp-unload-hook'.
2007-10-31 12:46:08 +00:00
Vinicius Jose Latorre
c896ea9541
Default argument for find-library
2007-10-31 12:39:44 +00:00
Juanma Barranquero
1cc5b8f8b4
(elp-report-limit, elp-restore-all, elp-unset-master, elp-results): Fix typos.
...
(elp-sort-by-function, elp-use-standard-output, elp-recycle-buffers-p):
Doc fixes.
2007-10-31 12:09:33 +00:00
Glenn Morris
798bd43727
(byte-compile-disable-warning)
...
(byte-compile-enable-warning): Doc fix.
2007-10-30 06:23:06 +00:00
Dan Nicolaescu
fc5e09b3ee
* textmodes/flyspell.el (message-signature-separator):
...
* longlines.el (message-indent-citation-function): Pacify byte
compiler.
* emacs-lisp/cl-loaddefs.el:
* ldefs-boot.el: Regenerate.
* Makefile.in (BYTE_COMPILE_EXTRA_FLAGS): New variable.
(.el.elc, compile, compile-always, compile-calc)
($(lisp)/progmodes/cc-mode.elc): Use it.
2007-10-29 18:32:32 +00:00
Juanma Barranquero
2980f2d11b
(unsafep, unsafep-function, unsafep-progn, unsafep-let):
...
Fix typos in docstrings.
2007-10-29 15:41:53 +00:00
Glenn Morris
8778731969
Move local variables to end of file, and set byte-compile-warnings to
...
`(not cl-functions)'.
2007-10-29 00:22:36 +00:00