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
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
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
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
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
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
Richard M. Stallman
15975e3514
(documentation): Advice deleted. Doc for advised functions
...
is now handled at C level.
(ad-stop-advice, ad-start-advice): Don't enable or disable
advice for `documentation'.
(ad-advised-definition-docstring-regexp): Var deleted.
(ad-make-advised-definition-docstring): Store orig name
as text property of string.
(ad-advised-definition-p): Check for text property of docstring.
2007-10-14 22:46:38 +00:00
Glenn Morris
988e29061a
(top level): Use mapc rather than mapcar.
2007-10-12 03:00:05 +00:00
Richard M. Stallman
49c23b705b
(debugger-setup-buffer): Disable undo in *Backtrace*.
2007-10-10 20:19:44 +00:00
Miles Bader
1af74d06e5
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
2007-10-09 08:52:57 +00:00
Richard M. Stallman
03d5bbb071
(edebug-install-custom-print-funcs)
...
(edebug-install-custom-print, edebug-reset-print-funcs)
(edebug-uninstall-custom-print, edebug-uninstall-custom-print-funcs):
Functions deleted.
(edebug-prin1, edebug-print, edebug-prin1-to-string)
(edebug-format, edebug-message): Define directly as aliases.
2007-10-09 01:18:29 +00:00
Stefan Monnier
2cb250dd39
(copyright-update): Don't update if the file
...
already uses a more recent copyright version than the "current" one.
2007-10-03 23:42:06 +00:00
David Kastrup
621af279b5
lisp/emacs-lisp/authors.el: revert accidentally committed private change.
2007-09-30 22:53:08 +00:00
David Kastrup
3d1699ec04
lisp/emacs-lisp/authors.el (authors): make non-specific to Emacs.
2007-09-30 22:51:44 +00:00
Juanma Barranquero
a1a57a4244
(eldoc-message-commands-table-size, eldoc-message-commands,
...
eldoc-current-idle-delay): Fix typos in docstrings.
2007-09-27 21:39:31 +00:00
Juanma Barranquero
c4e36c26f6
(eldoc-function-argstring-format): Deal with the case that special
...
&keywords are at the beginning or end of the argument list.
Also add some (incomplete) support for non-standard arglists.
2007-09-26 15:59:13 +00:00