Commit graph

2729 commits

Author SHA1 Message Date
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
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
Glenn Morris
e92d2ff731 (ad-compile-function): Use byte-compile-disable-warning. 2007-10-28 23:52:21 +00:00
Glenn Morris
7187be8be7 Add a local variables section, and set
byte-compile-warnings to `(not cl-functions)'.
2007-10-28 23:51:52 +00:00
Glenn Morris
bc8ce89b93 Unify local variable section, and set
byte-compile-warnings to `(not cl-functions)'.
(cl-do-proclaim): Use byte-compile-disable-warning and
byte-compile-enable-warning.
2007-10-28 23:51:29 +00:00
Glenn Morris
08f5e96594 Unify local variable section, and set byte-compile-warnings to `(not
cl-functions)'.
2007-10-28 23:50:47 +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
Juanma Barranquero
5eceba819d (ad-make-advised-docstring): Add ad-advice-info text property to doc string. 2007-10-23 08:42:39 +00:00
Stefan Monnier
538a93d833 (byte-optimize-featurep): Fix paren typo. 2007-10-21 20:10:06 +00:00
Dan Nicolaescu
f82460271e * emulation/edt-mapper.el (function-key-map):
(edt-map-key): Make it a function instead of using fset. Inline
edt-gnu-map-key and edt-lucid-map-key. Use featurep 'xemacs.
(edt-gnu-map-key, edt-lucid-map-key): Remove.
(edt-x-emacs-p): Remove.
(edt-emacs-variant, edt-window-system, edt-xserver):
Use featurep 'xemacs.

* net/eudc.el: Use (featurep 'xemacs) instead of the string test.
Replace eudc-xemacs-p with its definition.
(eudc-xemacs-p, eudc-emacs-p, eudc-xemacs-mule-p)
(eudc-emacs-mule-p): Remove.
(eudc-install-menu, eudc-mode): Replace eudc-emacs-p and
eudc-xemacs-p with feature tests.

* net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-mail-keymap)
(eudc-bob-url-keymap, eudc-bob-sound-keymap)
(eudc-bob-generic-keymap, eudc-bob-popup-menu)
(eudc-bob-toggle-inline-display):
* net/eudc-hotlist.el (eudc-hotlist-emacs-menu): Replace
eudc-emacs-p and eudc-xemacs-p with feature tests.

* net/eudcb-ph.el (eudc-ph-open-session): Replace
eudc-xemacs-mule-p with its former definition.

* progmodes/octave-mod.el (octave-xemacs-p): Remove.
(octave-abbrev-start): Replace octave-xemacs-p with
(featurep 'xemacs).

* progmodes/vera-mode.el (vera-xemacs): Remove.
(vera-mode-syntax-table): Replace vera-xemacs with
(featurep 'xemacs).

* progmodes/vhdl-mode.el (vhdl-xemacs): Remove.
(vhdl-doc-mode, vhdl-doc-variable, vhdl-compile-init)
(vhdl-speedbar-initialize, vhdl-ps-print-init)
(vhdl-forward-comment, vhdl-mode-map-init, vhdl-show-messages)
(vhdl-emacs-22, vhdl-emacs-21): Replace vhdl-xemacs
with (featurep 'xemacs).

* progmodes/antlr-mode.el (cond-emacs-xemacs-macfn, defunx)
(save-buffer-state-x):
* obsolete/fast-lock.el (fast-lock-verbose):
* emulation/viper-init.el (viper-xemacs-p)
(viper-cond-compile-for-xemacs-or-emacs):
* emacs-lisp/checkdoc.el (checkdoc-minor-mode-map):
* ps-print.el (case-fold-search):
* ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs):
* calculator.el (calculator-help): Use featurep 'xemacs.
2007-10-21 17:22:04 +00:00
Miles Bader
5fcd436bab Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 899-900)

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

 * emacs--rel--22  (patch 129-130)

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

 * gnus--rel--5.10  (patch 259-260)

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

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-272
2007-10-20 02:22:59 +00:00
Stefan Monnier
cc34934141 (easy-mmode-define-navigation):
Add `body' arg.  Cleanup the check-narrow-maybe/re-narrow-maybe mess.
2007-10-20 01:46:38 +00:00
Miles Bader
9c8020a8df Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 890-898)

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

 * emacs--rel--22  (patch 122-128)

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

 * gnus--rel--5.10  (patch 257-258)

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

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-270
2007-10-19 00:00:21 +00:00
Juanma Barranquero
77f698ef09 Don't require loadhist. 2007-10-17 23:49:26 +00:00
Richard M. Stallman
745dc723d9 (ad-get-advice-info): Change to a function.
(ad-get-advice-info-macro): New macro, like old ad-get-advice-info.
(ad-is-advised, ad-get-advice-info-field)
(ad-set-advice-info-field): Use ad-get-advice-info-macro.
2007-10-16 02:37:33 +00:00
Richard M. Stallman
974992a66b (ad-get-advice-info): Change to a function.
(ad-get-advice-info-macro): New macro, like old ad-get-advice-info.
(ad-is-advised, ad-get-advice-info-field)
(ad-set-advice-info-field): Use ad-get-advice-info-macro.
2007-10-16 02:34:58 +00:00
Miles Bader
63655c8314 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 887-889)

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

 * emacs--rel--22  (patch 116-121)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-268
2007-10-15 05:03:21 +00:00
Miles Bader
b2529d56b5 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 116-121)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-889
2007-10-15 02:07:53 +00:00
Richard M. Stallman
0fbd1f764f (ring-convert-sequence-to-ring)
(ring-insert+extend, ring-remove+insert+extend, ring-member)
(ring-next, ring-previous): New functions.
2007-10-14 22:53:07 +00:00