Commit graph

2511 commits

Author SHA1 Message Date
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
Glenn Morris
497a66ae0a Johannes Weiner <hannes at saeurebad.de>
(pp-display-expression): New function, extracted from pp-eval-expression.
(pp-eval-expression): Use pp-display-expression.
(pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
(pp-last-sexp): New function, extracted from pp-eval-last-sexp.
(pp-eval-last-sexp): Use pp-last-sexp.
2008-04-26 02:32:33 +00:00
Glenn Morris
38a48ab7a8 Tom Tromey <tromey at redhat.com>
(easy-mmode-define-keymap): Document keywords.  Add :suppress.
2008-04-24 05:47:18 +00:00
Stefan Monnier
b7b49316c5 (easy-menu-make-symbol): Don't wrap keyboard macros within lambdas. 2008-04-24 02:02:40 +00:00
Miles Bader
a113b3ca32 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1121
2008-04-23 05:55:42 +00:00
Glenn Morris
b2c7c56d57 (copyright-at-end-flag): New option.
(copyright-limit): Respect copyright-at-end-flag.
(copyright-re-search, copyright-start-point)
(copyright-offset-too-large-p): New functions.
(copyright-update-year): Use copyright-re-search.
(copyright-update, copyright-fix-years): Use copyright-start-point,
and copyright-re-search.
(copyright): Use copyright-offset-too-large-p.
2008-04-22 02:54:32 +00:00
Stefan Monnier
e80591ba8d * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
* progmodes/scheme.el (scheme-mode-variables): Don't use it.
2008-04-19 19:35:09 +00:00
Stefan Monnier
e8dab97599 * files.el (locate-file-completion-table): Rename from
locate-file-completion and make it use `pred' in the normal way.
(locate-file-completion): New compatibility wrapper.
(load-library): Use locate-file-completion-table.
* emacs-lisp/find-func.el (find-library): Likewise.
* info.el: Use with-current-buffer and inhibit-read-only.
(Info-read-node-name-2): Change to use `predicate' in the normal way.
(Info-read-node-name-1): Adjust uses accordingly.
2008-04-19 03:33:13 +00:00
Stefan Monnier
a5c2e9ebe8 (trace-make-advice): Don't change selected-window. 2008-04-19 03:10:31 +00:00
Juanma Barranquero
85744fc9b4 (lisp-comment-indent): Add WHEN to obsolescence declaration. 2008-04-18 10:32:16 +00:00
Juanma Barranquero
182f620587 (checkdoc-minor-keymap): Use `define-obsolete-variable-alias'. 2008-04-18 10:06:06 +00:00
Stefan Monnier
1cb64239e7 (debug): Revert to bury-buffer since quit-window is not better anyway. 2008-04-18 01:29:23 +00:00
Juanma Barranquero
e499351ad2 (crm-completion-help, crm-complete, crm-complete-word, crm-complete-and-exit):
Fix typo in previous change.
2008-04-17 09:50:05 +00:00
Stefan Monnier
66787d5102 Complete rewrite. 2008-04-14 19:54:30 +00:00
Reiner Steib
470fc3548e (copyright-update-directory): New command. 2008-04-12 10:06:28 +00:00
Glenn Morris
f8754ca2de (define-obsolete-variable-alias): Doc fix. 2008-04-12 03:13:27 +00:00
Stefan Monnier
37eb1eeae5 (autoload-generate-file-autoloads):
Bind print-level to ensure output forms aren't truncated if
print-level is set to eval-expression-print-level when going via
eval-defun and friends, or has been otherwise fiddled with.
2008-04-11 01:59:14 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00
Alexandre Julliard
d533750604 (ewoc-collect): Return results in the correct order. 2008-04-09 18:50:34 +00:00
Chong Yidong
dbf3ef782e (regexp-opt): Reduce max-lisp-eval-depth and max-specpdl-size to
10000.
2008-04-09 15:38:32 +00:00
Chong Yidong
75407435b1 (regexp-opt-group): Use substring-no-properties for correct handling
of unibyte strings.
2008-04-09 04:29:43 +00:00
Juanma Barranquero
3d3d1efc2e Regenerate. 2008-04-08 14:03:46 +00:00
Juanma Barranquero
20e3d3f1ca (get-setf-method): Use `string-match-p'. 2008-04-08 11:50:24 +00:00
Juanma Barranquero
66e9f105e0 (checkdoc-this-string-valid-engine): Use `string-match-p'. 2008-04-08 11:47:48 +00:00
Juanma Barranquero
80817d7b5e (copyright-update-year): Fix braino. 2008-04-08 11:45:19 +00:00
Juanma Barranquero
68af6bd607 (copyright-update-year): Use `looking-at-p'. 2008-04-08 11:40:04 +00:00
Dan Nicolaescu
f6ec641572 *** empty log message *** 2008-04-07 01:20:06 +00:00
Miles Bader
5bc6ddff00 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1107
2008-04-05 23:01:26 +00:00
Glenn Morris
5ec993427a (autoload-ensure-default-file): Provide a feature. 2008-04-05 18:51:12 +00:00
Dan Nicolaescu
7cd25617fe * outline.el (outline-mode-menu-bar-map):
* term.el (terminal-signal-menu): Add :help.

* net/eudc.el (eudc-mode-map): Declare and define in one step.
(eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.

* emacs-lisp/re-builder.el (reb-mode-map):
* textmodes/nroff-mode.el (nroff-mode-map): Add menus.
2008-04-04 22:45:01 +00:00
Juanma Barranquero
b4af1db689 Regenerate. 2008-04-04 00:36:19 +00:00
Stefan Monnier
cb7d9531e7 (defsetf): Accept a lambda for the 2-arg form. 2008-04-03 13:42:25 +00:00
Stefan Monnier
e0f0f3efb4 (timer): Define as a defstruct, so we can name the fields, to make the
code clearer.  Rewrite all `aset' and `aref' using the defined accessors.
(timer--time): New pseudo-field.
(timer-set-time, timer-set-idle-time, timer-inc-time)
(timer-set-time-with-usecs, with-timeout-suspend): Use it.
(timer--time-less-p): New function.
(timer--activate): New function, extracted from timer-activate.
(timer-activate-when-idle, timer-activate): Use it.
(cancel-function-timers): Use dolist.
2008-04-03 03:43:18 +00:00
Juanma Barranquero
57f31575dd Regenerate. 2008-04-03 01:27:31 +00:00
Dan Nicolaescu
b23718189d * emacs-lisp/debug.el (debugger-mode-map):
* textmodes/conf-mode.el (conf-mode-map): Add a menu.
(conf-align-assignments): Only work on the region if it is active.
(conf-quote-normal): Use when instead of if.  Remove redundant test.
2008-04-02 06:35:21 +00:00
Dan Nicolaescu
5e8bbcc4c9 (emacs-lisp-mode-map): Add menu entries
for tracing and re-builder.
2008-04-02 06:29:40 +00:00
Johan Bockgård
a15b3f430c (frame-parameter) <defsetf>: Make it return the assigned value. 2008-04-01 09:20:42 +00:00
Chong Yidong
2966eaebc8 (find-function-search-for-symbol): Strip extension from .emacs.el to
make sure symbol is searched in .emacs too.
2008-03-31 22:12:22 +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
Dan Nicolaescu
0bf12140f5 (emacs-lisp-mode-map): Fix predicate. 2008-03-27 22:15:54 +00:00
Johan Bockgård
d9dd743ee6 (lm-with-file): Use mode and syntax table for Emacs Lisp, not Lisp. 2008-03-26 14:13:06 +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
Juanma Barranquero
9e60aa0b8c (side-effect-free-fns): Fix typo. 2008-03-25 23:27:11 +00:00
Juanma Barranquero
4361b6c29e (reb-mode-common): Remove reference to bogus variable `reb-kill-buffer';
don't make hooks buffer-local, use the LOCAL arg of `add-hook'.
(reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
Remove spurious * from defcustom docstrings.
(reb-next-match, reb-prev-match, reb-enter-subexp-mode): Fix typos in messages.
(reb-mode-buffer-p): New function.
(re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'.  Use `when'.
(top, reb-show-subexp, reb-auto-update, reb-auto-update, reb-delete-overlays,
reb-cook-regexp, reb-update-regexp, reb-update-overlays): Use `unless', `when'.
(re-builder-unload-function): New function.
2008-03-25 16:49:22 +00:00
Dan Nicolaescu
935f7c5a64 (emacs-lisp-mode-map): Add ... where
appropriate.
2008-03-22 17:51:17 +00:00
Juri Linkov
ec800cf0a2 (lisp-complete-symbol):
Use `minibuffer-message' to display message "No completions of %s"
when this command is called in the minibuffer.
2008-03-22 00:11:53 +00:00
Dan Nicolaescu
175e5186e2 (emacs-lisp-mode-map): Add menu entry for disassemble. 2008-03-21 06:08:21 +00:00
Dan Nicolaescu
7afdc39150 (emacs-lisp-mode-map): Add menu entries for eldoc and ielm. 2008-03-17 16:19:05 +00:00
Dan Nicolaescu
b0fb2dee9a Fix typos. 2008-03-16 17:02:40 +00:00
Dan Nicolaescu
f31b125795 * faces.el (xw-defined-colors):
* simple.el (widget-convert, shell-mode): Declare as functions
instead of autoloading.

* abbrev.el:
* button.el:
* cus-face.el:
* ediff-hook.el:
* emacs-lisp/backquote.el:
* emacs-lisp/timer.el:
* facemenu.el:
* faces.el:
* menu-bar.el:
* simple.el:
* subr.el:
* textmodes/fill.el:
* textmodes/paragraphs.el: Remove autoloads, redundant when the
files are preloaded.
2008-03-14 17:42:18 +00:00