1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00
Commit Graph

1727 Commits

Author SHA1 Message Date
Stefan Monnier
d6b8bb8ef4 Adjust to new names for x-(lost|sent)-selection-functions. 2004-10-28 23:32:28 +00:00
Richard M. Stallman
5172bdd1bb (elp-unload-hook): Set the variable. 2004-10-16 15:22:00 +00:00
Richard M. Stallman
61f1ca4e1d (cl-unload-hook): Don't defvar it, just set it. 2004-10-16 15:21:10 +00:00
Richard M. Stallman
997011eb62 (byte-compile-eval): Don't process
"cl" like other files.  Instead, call byte-compile-find-cl-functions.
(byte-compile-file-form-require): Detect "cl" from the arg value.

(byte-compile-log-1): Bind inhibit-read-only.
(byte-compile-warning-prefix, byte-compile-log-file): Likewise.
(byte-compile-log-warning): Likewise.
2004-10-16 15:20:24 +00:00
Stefan Monnier
3610d3c962 (mark-sexp): Preserve direction when repeating. 2004-10-12 16:05:55 +00:00
Andreas Schwab
af61a97dd6 (byte-optimize-backward-word): Optimize
`(backward-word)' to `(forward-word -1)', not `(forward-char -1)'.
2004-10-10 14:28:19 +00:00
Stefan Monnier
cd9d956124 (lisp-fill-paragraph): Fix backslashes. 2004-10-09 14:28:12 +00:00
Eli Zaretskii
e8a4208ec8 (lisp-fill-paragraph): Change
paragraph-start regexp so we don't fill code starting with #'(
2004-10-08 17:54:43 +00:00
Stefan Monnier
25d91d947f (checkdoc-this-string-valid-engine):
Don't tell to use \\{...} when it's already done.
2004-09-12 20:17:53 +00:00
Thien-Thi Nguyen
78bba1c8dd (byte-compile-generate-call-tree): Doc fix.
(display-call-tree): Ensure newline after caller/calls blocks.
2004-09-08 12:04:22 +00:00
Thien-Thi Nguyen
2b0e738aee (define-compilation-mode): Specify `doc-string-elt' property. 2004-09-08 11:09:14 +00:00
Thien-Thi Nguyen
bec34fb05f (make-autoload): Handle `define-compilation-mode'. 2004-09-08 11:06:23 +00:00
Kim F. Storm
d0f483e8e1 (authors-aliases): Add more aliases.
(authors-fixed-entries): Fix typo.
(authors-canonical-author-name): Compact multiple spaces.
Ignore trivial names (e.g. only first name).
2004-09-07 21:16:48 +00:00
Eli Zaretskii
de6d64b22a (kill-backward-up-list): New function. 2004-09-04 12:56:54 +00:00
Juri Linkov
017c959d5d (beginning-of-defun, end-of-defun):
Do not push mark if inhibit-mark-movement is non-nil.
2004-09-02 09:43:38 +00:00
Richard M. Stallman
4f4ce5976e (prin1-char): Don't turn S-a into A.
Don't return a string that would read as the wrong character code.
2004-08-30 16:05:47 +00:00
Richard M. Stallman
ea2e9f8dc9 Whitespace change. 2004-08-28 15:32:06 +00:00
Richard M. Stallman
87fdf320e9 (prin1-char): Put `shift' modifier into the basic character,
if it has an uppercase form.
2004-08-28 14:00:38 +00:00
Eli Zaretskii
3166fce661 (lisp-indent-defmethod): Correct
indentation of DEFMETHODS with non-standard method
combinations (e.g., PROGN, MIN, MAX).
2004-08-21 12:24:13 +00:00
Masatake YAMATO
2b8d823f69 (elp-results-symname-map): New keymap.
(elp-results-jump-to-definition-by-mouse)
(elp-results-jump-to-definition, elp-output-insert-symname): New Functions.
(elp-output-result): Use elp-output-insert-symname.
2004-08-19 07:52:01 +00:00
Luc Teirlinck
697f502a87 (copyright-update-year): Delete code that replaces 20xy with xy. 2004-08-18 02:11:36 +00:00
John Paul Wallington
ee1fcbddee (reb-mode-map): Define within defvar.
(reb-force-update): Doc fix.
2004-08-17 09:58:06 +00:00
Richard M. Stallman
06f308a7e2 (eval-last-sexp): Don't cons a new symbol each time.
(eval-last-sexp-fake-value): New variable.
2004-08-16 22:44:11 +00:00
Richard M. Stallman
6931181604 (copyright-years-regexp): New variable.
(copyright-update-year): Detect continuation of list of years.
2004-08-16 22:43:09 +00:00
John Paul Wallington
78642e03de (forward-word): Allow 0 args. 2004-08-14 10:01:55 +00:00
John Paul Wallington
8bd6323a8f (reb-re-syntax): Add `rx' syntax.
(reb-lisp-mode): Require `rx' feature when `re-reb-syntax' is `rx'.
(reb-lisp-syntax-p, reb-change-syntax): `rx' is a Lisp syntax.
(reb-cook-regexp): Call `rx-to-string' when `re-reb-syntax' is `rx'.
2004-08-07 12:03:54 +00:00
Jonathan Yavner
3e39672fd3 Added some additional functions to the 1-valued', compose', and progn groups.
Bugfix for marking up the definition for an empty function.
New category "potentially-1valued" for functions that are not erroneous if either 1-valued or multi-valued.
2004-07-17 17:06:26 +00:00
John Paul Wallington
7c20a7a9bb (reb-update-overlays): Distinguish between one and several matches in message. 2004-07-09 17:16:59 +00:00
Juri Linkov
c47e847f4d (pp-buffer): Add autoload. 2004-06-28 23:08:31 +00:00
Juanma Barranquero
0111ab41ec (ewoc-create, ewoc-map, ewoc-locate, ewoc-invalidate, ewoc-collect):
Doc fixes.
(ewoc--create-node, ewoc--delete-node-internal):
Fix typos in docstring.
2004-06-16 23:50:03 +00:00
Richard M. Stallman
1d5c17c0d3 Put `...' around symbols in warning messages. 2004-06-13 22:01:36 +00:00
Juri Linkov
95e4aa8ef2 (edebug-eval-defun): Add `defface'. Fix docstring. 2004-06-10 04:18:04 +00:00
Juri Linkov
217297f8ec (eval-defun-1): Add `defface'. Fix docstring. 2004-06-10 04:16:05 +00:00
Richard M. Stallman
152472ba19 (prin1-char): Catch errors from `string'.
(eval-last-sexp-print-value): Print char equivalent regardless
of standard-output value.
2004-05-29 15:33:30 +00:00
Juri Linkov
d97c819899 (insert-pair-alist): New var.
(insert-pair): Make arguments optional.  Find character pair
from `insert-pair-alist' according to the last input event.
(insert-parentheses): Make arguments optional.
(raise-sexp, delete-pair): New funs.
2004-05-28 21:12:25 +00:00
Juri Linkov
889bfc7d44 * emacs-lisp/lisp-mode.el (indent-pp-sexp): New fun.
(emacs-lisp-mode-map, lisp-interaction-mode-map):
Bind C-M-q to `indent-pp-sexp'.
(eval-last-sexp-print-value): Print additionally the value returned by
`eval-expression-print-format'.
2004-05-28 21:09:05 +00:00
Juri Linkov
575c3bca4c (pp-buffer): New fun created from the code in
`pp-to-string' modified to be able to format text with newlines.
(pp-to-string): Move the buffer-formatting part of the code to
`pp-buffer'.  Call `pp-buffer'.
2004-05-28 21:05:17 +00:00
Juri Linkov
50a27de260 * emacs-lisp/edebug.el (edebug-compute-previous-result)
(edebug-eval-expression): Print additionally the value returned by
`eval-expression-print-format'.
2004-05-28 21:03:53 +00:00
Sam Steingold
59de4ad0fc (lisp-find-tag-default): Strip the package prefix from the symbol name, if any.
Make it the `find-tag-default-function' for `lisp-mode'.
2004-05-25 20:51:06 +00:00
Richard M. Stallman
d3d6bc9b3b (mark-defun, narrow-to-defun): If moving back then fwd gets a defun
that ends before point, try again moving fwd then back.
2004-05-22 07:41:55 +00:00
Stefan Monnier
b88a41d006 (byte-compile-log): Use backquotes.
(byte-compile-log-1): Don't call (byte-goto-log-buffer).
Use with-current-buffer.
(byte-goto-log-buffer): Delete.
(byte-compile-log-file): Call compilation-forget-errors.
2004-05-19 18:53:13 +00:00
Sam Steingold
410019e59c (common-lisp-indent-function-1): Indent "without-" forms just
like "with-" and "do-".  Use regexp-opt.
2004-05-17 17:00:00 +00:00
Kim F. Storm
8cb7feb8b1 (timer-event-handler): Fix last change. 2004-05-16 21:43:57 +00:00
Kim F. Storm
6160f9334e (timer-activate): Add optional arg triggered-p.
Use it to set triggered-p element of timer.
(timer-event-handler): Set triggered-p element non-nil while running
the timer function.
2004-05-14 23:09:35 +00:00
Stefan Monnier
7a439904ec (prin1-char): Use eventp. 2004-05-11 03:17:59 +00:00
Juanma Barranquero
a766dfa104 (do, do*): Put usage info in a format usable by `describe-function'.
(gensym, gentemp, typep, ignore-errors): Make argument names match their
use in docstring.
2004-05-08 17:23:08 +00:00
Andreas Schwab
07051573a8 (checkdoc-minor-mode): Doc fix. 2004-05-08 16:38:33 +00:00
Juanma Barranquero
506b775323 (make-obsolete, make-obsolete-variable): Make argument names match their use in
docstring.
2004-05-07 00:58:54 +00:00
Juanma Barranquero
403532ee37 (reb-auto-update): Fix typo in docstring. 2004-05-07 00:53:56 +00:00
Juri Linkov
5891bf24d9 (beginning-of-defun, end-of-defun):
Push mark on the first call of successive command calls.
(insert-pair): New fun created from `insert-parentheses' with
`open' and `close' arguments added.  Enclose active regions
in paired characters.  Compare adjacent characters syntax with
inserted characters syntax before inserting a space.
(insert-parentheses): Call `insert-pair' with ?\( ?\).
2004-05-01 03:58:43 +00:00
Stefan Monnier
4479a2f89a (find-function-C-source-directory): New var.
(find-function-C-source): New fun.
(find-function-search-for-symbol): Use it.
2004-04-29 18:39:14 +00:00
Juanma Barranquero
66dc9a0f2f (autoload-before-p): Remove.
(update-file-autoloads, update-directory-autoloads): Use `time-less-p'.
2004-04-27 22:46:52 +00:00
Stefan Monnier
f578d9f8aa (checkdoc-output-error-regex-alist): New var.
(checkdoc-output-font-lock-keywords): Remove error regexp.
(checkdoc-output-mode-map): Remove.
(checkdoc-output-mode): Derive from compilation-mode.
(checkdoc-find-error-mouse, checkdoc-find-error): Remove.
2004-04-23 22:25:17 +00:00
Stefan Monnier
09c774f713 (rx-syntax): Move sregex style syntax to code.
(rx-bracket, rx-check-any, rx-any): Clean up name space.
2004-04-23 21:25:58 +00:00
Stefan Monnier
ccfbe67988 Doc fixes.
(rx-constituents): Add/extend many forms.
(rx-check): Check form is a list.
(bracket): Defvar.
(rx-check-any, rx-any, rx-check-not): Modify.
(rx-not): Simplify.
(rx-trans-forms, rx-=, rx->=, rx-**, rx-not-char, rx-not-syntax): New.
(rx-kleene): Use rx-trans-forms.
(rx-quote-for-set): Delete.
(rx): Allow multiple args.
2004-04-23 21:23:29 +00:00
Stefan Monnier
6f8e359068 (batch-byte-recompile-directory): Add byte-recompile-directory's opt `arg'. 2004-04-21 22:34:27 +00:00
Stefan Monnier
780b142e2d (checkdoc-output-mode): Make it a normal major mode.
(checkdoc-buffer-label): Make sure the file name is meaningful.
(checkdoc-output-to-error-buffer): Remove.
(checkdoc-error, checkdoc-start-section): Rewrite.
2004-04-21 20:54:03 +00:00
Richard M. Stallman
67d170f2d2 (easy-menu-add): Do call x-popup-menu, but only if it's defined. 2004-04-21 19:14:49 +00:00
Richard M. Stallman
dc0485c4f8 (disassemble): Handle lambda-exp as arg. 2004-04-21 19:14:04 +00:00
Richard M. Stallman
a4f6653194 Fix previous change. 2004-04-21 19:13:00 +00:00
Richard M. Stallman
0a0eb031ad (byte-compile-no-warnings): Handle multiple args: compile like progn. 2004-04-21 19:12:04 +00:00
Richard M. Stallman
ae122ad2d4 (with-no-warnings): Simplify: take all args as &rest arg. 2004-04-21 19:10:29 +00:00
Stefan Monnier
a080ff233c (batch-byte-compile-file): Give a backtrace if requested. 2004-04-14 20:43:45 +00:00
Stefan Monnier
44b254cc4f (beginning-of-defun-raw, end-of-defun):
Correctly handle negative arguments when calling hook functions.
2004-04-14 18:20:23 +00:00
Stefan Monnier
96ef1febd2 (checkdoc-output-mode-map, checkdoc-find-error-mouse, checkdoc-find-error):
Use posn-set-point to merge the mouse and non-mouse case.
2004-04-14 17:49:43 +00:00
Stefan Monnier
7d0e09557f (byte-compile-cond): Fix last change. 2004-04-12 03:11:10 +00:00
Miles Bader
1f3ddf11e8 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196
Remove RCS keywords

2004-04-10  Miles Bader  <miles@gnu.org>

   RCS keyword removal (only non-comment changes are enumerated here):

   * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
   (byte-compile-insert-header): Don't use `byte-compile-version'.
   * lisp/url/url-vars.el (url-version): Use the constant string "Emacs"
   instead of calculating something from the RCS `State' keyword
   [the latter is almost entirely useless anyway].
   * lisp/forms.el (forms-version): Variable removed.
   (forms-mode): Don't use `forms-version'.
   * lisp/recentf.el (recentf-version): Variable removed.
   * lisp/progmodes/delphi.el (delphi-version): Variable removed.
   * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
2004-04-10 05:55:49 +00:00
Stefan Monnier
b1b2ae8162 (easy-menu-add): Make it work in non-X Emacs. 2004-04-09 16:41:36 +00:00
Eli Zaretskii
05ec033b10 (rx): Work at compile time, not run time. 2004-03-27 11:52:07 +00:00
Stefan Monnier
98fdbd102f (ad-subr-arglist): Undo part of last patch. 2004-03-23 02:45:33 +00:00
Stefan Monnier
d08c4c2857 Fix copyright. 2004-03-22 15:38:14 +00:00
Stefan Monnier
eaf33a1780 (pp-eval-expression): Simplify. 2004-03-22 15:32:24 +00:00
Stefan Monnier
4f9d876485 (lisp-mode-variables): Don't set
normal-auto-fill-function and comment-indent-function.
The default values now work just as well.
Don't set font-lock-beginning-of-syntax-function since we already set
syntax-begin-function.
(lisp-outline-level): Put ;;;###autoload at same level as (.
(prin1-char): Quote special chars.
2004-03-22 15:31:46 +00:00
Stefan Monnier
de00302bfd (lm-keywords-finder-p): Use defvar rather than with-no-warnings. 2004-03-22 15:28:28 +00:00
Stefan Monnier
e409c5272f (edebug-display): Bring up a debug trace if the source location can't be found.
(edebug-compute-previous-result): Use prin1-char.
2004-03-22 15:27:46 +00:00
Stefan Monnier
b008007c6a (checkdoc-error): Dont' assume point-min == 1.
(debug-ignored-errors): Add an entry.
2004-03-22 15:24:49 +00:00
Stefan Monnier
b122f3fb5a (byte-recompile-directory): Ignore hidden dir.
(byte-compile-file): Output warning when deleting a file.
2004-03-22 15:23:59 +00:00
Stefan Monnier
66599b54fb (defsubst): Add edebug spec and use backquote.
(dont-compile, eval-when-compile, eval-and-compile): Add edebug spec.
2004-03-22 15:22:34 +00:00
Stefan Monnier
e856a453a1 (byte-compile-log-lap, byte-compile-inline-expand): Use backquote.
(byte-optimize-pure-func): Rename from byte-optimize-concat.
(symbol-name, regexp-opt, regexp-quote): Mark as pure.
2004-03-22 15:21:08 +00:00
Stefan Monnier
1de9630d9b (backquote-list*-macro): Use nreverse. 2004-03-22 15:17:01 +00:00
Stefan Monnier
35abd1e238 (ad-subr-arglist): Simplify. 2004-03-22 15:16:27 +00:00
Juri Linkov
b49c969bd0 Doc fix. 2004-03-22 07:48:01 +00:00
Juanma Barranquero
942269e7b4 (rx): Work at compile time, not run time. 2004-03-21 15:34:56 +00:00
Juanma Barranquero
7ab91c5f45 (make-obsolete-variable): Fix docstring. 2004-03-18 00:20:44 +00:00
Richard M. Stallman
8de4476933 (byte-compile-get-constant): For strings, do compare text properties. 2004-03-12 10:09:59 +00:00
Stefan Monnier
d8a8cbe26c (lisp-mode-variables): Set it. 2004-03-08 02:15:05 +00:00
Eli Zaretskii
740b7c2dbb (rx-check, rx-check-any, rx-check-not)
(rx-repeat, rx-check-backref, rx-syntax, rx-to-string): Use
lower-case "rx" in all error message.
(rx-or): Put group around result.
(rx-constituents): Add backref.
(rx-syntax): Add string-delimiter, comment-delimiter.
(rx-categories): Add combining-diacritic.
(rx-check-not, rx-greedy, rx): Doc fix.
(rx-backref, rx-check-backref): New.
2004-02-16 16:51:39 +00:00
Eli Zaretskii
062a9fce99 (rx-not): Bind case-fold-search to nil. 2004-02-16 12:12:02 +00:00
Luc Teirlinck
5410f047b3 (lisp-mode-variables): Adapt outline-regexp to the new conventions for
commenting out code.
2004-02-12 01:50:46 +00:00
Miles Bader
4d449b11a0 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-84
Add lisp/emacs-lisp/macroexp.el
2004-02-10 01:52:31 +00:00
Andreas Schwab
c971696d04 (defstruct): Remove extra format string
argument.
(cl-struct-setf-expander): Likewise.
2004-02-08 22:41:39 +00:00
Andreas Schwab
d71eb4d4f2 (lm-verify): Remove useless use of
format.
2004-02-08 22:38:03 +00:00
Richard M. Stallman
ab43c85050 (byte-compile-compatibility): Doc fix.
(byte-compile-format-warn): New.
(byte-compile-callargs-warn): Use it.
(Format, message, error): Add byte-compile-format-like property.
(byte-compile-maybe-guarded): New.
(byte-compile-if, byte-compile-cond): Use it.
(byte-compile-lambda): Compile interactive forms, just to make
warnings about them.
2004-01-29 17:58:16 +00:00
Richard M. Stallman
750e563f99 (beginning-of-defun-raw, end-of-defun):
Iterate the hook function if arg is given.
(mark-defun, narrow-to-defun): Change order of finding the limits.
2004-01-29 17:56:42 +00:00
Stefan Monnier
e8a12926bb (easy-mmode-define-navigation): Use a more robust check of widening. 2004-01-27 22:54:45 +00:00
Richard M. Stallman
7a21fef9ec (cl-cannot-unload): New function.
(cl-unload-hook): Defvar this to run cl-cannot-unload.
2004-01-16 18:20:00 +00:00
Luc Teirlinck
3e7274ae13 *** empty log message *** 2004-01-16 01:48:11 +00:00
Luc Teirlinck
637692f434 Add fmakunbound' for declare'. 2004-01-16 01:13:41 +00:00
Luc Teirlinck
9a7268cf3a *** empty log message *** 2004-01-13 00:24:12 +00:00
Luc Teirlinck
7618fe8e02 (compile-defun): Doc fix. 2004-01-12 23:28:29 +00:00
Karl Berry
2e3b4a0b35 allow / and *, too 2004-01-05 22:50:58 +00:00
Simon Josefsson
bcbc6fd3d0 Fix comment to recommend
before-save-hook instead of write-file-functions.
2004-01-05 18:19:11 +00:00
Karl Berry
17b337762f allow % and # as well as ; in copyright notice 2004-01-04 23:00:06 +00:00
Richard M. Stallman
38068db2b0 (lm-section-end): require outline. 2004-01-03 21:14:11 +00:00
Eli Zaretskii
1550204223 * progmodes/idlwave.el (idlwave-make-tags):
* textmodes/flyspell.el (flyspell-large-region):.
* progmodes/make-mode.el (makefile-query-by-make-minus-q):
* emulation/viper-util.el (viper-glob-unix-files):
* emacs-lisp/shadow.el (shadow-same-file-or-nonexistent):
* man.el (Man-init-defvars):
* jka-compr.el (jka-compr-call-process):
* files.el (get-free-disk-space,insert-directory):
* ediff-ptch.el (ediff-test-patch-utility):
* ediff-diff.el (ediff-test-utility):
* dired-aux.el (dired-check-process):
* mail/sendmail.el (sendmail-send-it): Don't use = or zerop to
test the return value of call-process, because it can be a string.
2004-01-03 12:12:01 +00:00
Eli Zaretskii
ab5136eab7 emacs-lisp/tcover-unsafep.el, emacs-lisp/tcover-ses.el: Renamed
from testcover-unsafep.el and testcover-ses.el to avoid file-name
clashes on 8+3 DOS filesystems.
2003-12-30 08:26:00 +00:00
Eli Zaretskii
dffafab086 (easy-menu-define): Doc fix. 2003-12-29 12:05:15 +00:00
Jonathan Yavner
01a9e5933d Add edebug specs for macros 1value' and noreturn'. 2003-11-30 06:58:00 +00:00
Jonathan Yavner
bbaa142972 Ensure that forms marked with `1value' actually always return the same value. 2003-11-30 06:56:28 +00:00
Thien-Thi Nguyen
877f9b0513 (easy-mmode-define-navigation): Take additional
optional arg NARROWFUN.  For the generated functions: Add local var
`was-narrowed-p'.  Also, if NARROWFUN is specified, include frags that
arrange to check for and save narrowing state before the move and then
conditionally call NARROWFUN after the move.
2003-11-14 16:18:01 +00:00
Eli Zaretskii
cdddbfd273 (rx-or): Fix the case of "(rx (and ?a (or ?b ?c) ?d))". 2003-11-01 17:35:49 +00:00
Francesco Potortì
97c437db33 Alias for Francesco Potort� 2003-10-23 20:36:19 +00:00
Richard M. Stallman
1ae7cf5ee8 (edebug-display-freq-count): Doc fix. 2003-10-20 23:46:31 +00:00
Dave Love
6c119ac0b4 (easy-mmode-define-navigation): Avoid
incf in macro expansion.
2003-10-20 19:07:02 +00:00
John Paul Wallington
748fb1aabd (elint-check-defcustom-form): Don't use `evenp' so we don't implicitly
require cl library at runtime.
2003-10-20 17:16:16 +00:00
Richard M. Stallman
9e1b128cd0 (lm-with-file): When FILE is nil, run BODY in current buffer. 2003-09-30 12:47:04 +00:00
Richard M. Stallman
a94d391acd (lm-with-file): Don't visit the file,
just use insert-file-contents in temp buffer.

(lm-get-header-re): Added surrounding \\( and \\) around the header,
as in for lm-history-header 'Change Log\\|History'.
2003-09-22 15:23:53 +00:00
Richard M. Stallman
9dbd7d6674 (byte-compile-log-file): Clear out byte-compile-last-warned-form. 2003-09-22 15:16:10 +00:00
Richard M. Stallman
5fc58d8323 (edebug-var-status, edebug-restore-status): New functions.
(edebug-enter, edebug-outside-excursion): Use them.
2003-09-19 14:31:15 +00:00
Richard M. Stallman
2c0696b144 (byte-compile-warning-prefix):
Fix the condition for whether to print "In WHERE".
2003-09-19 14:29:42 +00:00
Stefan Monnier
2b652064c6 (tq-create): Fix mixed up unquote style. 2003-09-12 15:55:47 +00:00
Dave Love
a3d819fcaa (eldoc-print-current-symbol-info-function):
New.
(eldoc-print-current-symbol-info): Use it.
2003-09-06 17:32:31 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Dave Love
60b2e60d2d (common-lisp-mode): New. 2003-08-20 18:53:12 +00:00
Dave Love
7a0e987434 (beginning-of-defun-function): Doc fix. 2003-08-20 18:48:43 +00:00
Dave Love
0cb9b63a7b Comment. 2003-08-20 18:46:55 +00:00
Richard M. Stallman
606f5e7543 (eval-last-sexp-print-value): New subroutine, broken out of eval-last-sexp-1.
(eval-last-sexp-1): Use eval-last-sexp-print-value.
2003-08-17 00:18:15 +00:00
Richard M. Stallman
91cbc31fa9 (noreturn): Report error if does return.
(testcover-reinstrument-clauses): Doc fix.
2003-08-06 01:10:37 +00:00
Richard M. Stallman
10b6c9320f Doc fixes, args renamed.
(warning-type-format): Renamed from warning-group-format.
2003-08-06 01:09:33 +00:00
Richard M. Stallman
9e31e67b6f (byte-compile-not-obsolete-var): New var.
(byte-compile-variable-ref): Handle byte-compile-not-obsolete-var.
(byte-compile-defvar): Bind byte-compile-not-obsolete-var
to prevent warnings about defvar for an obsolete variable.

(byte-compile-log-warning):
warning-group-format renamed to warning-type-format.
2003-08-06 01:08:21 +00:00
Jonathan Yavner
df961c06b1 Updated contact address. 2003-07-25 04:59:09 +00:00
Glenn Morris
8d11b45098 (define-derived-mode): Mention hook in doc string. Defvar the derived
hook.
2003-07-23 00:00:13 +00:00
Richard M. Stallman
fb16e93267 (emacs-lisp-mode): Use run-mode-hooks.
(lisp-mode): Likewise.
2003-07-21 09:58:06 +00:00
Stefan Monnier
db14504a96 (syntax-ppss): Catch the case where the buffer is narrowed. 2003-07-16 15:40:25 +00:00
Stefan Monnier
9c5b265345 (syntax-ppss-flush-cache): Rename from syntax-ppss-after-change-function.
(syntax-ppss-after-change-function): New alias.  Update uses.
2003-07-16 15:17:02 +00:00
John Paul Wallington
2356fa8a91 2003-07-11 John Paul Wallington <jpw@gnu.org>
* emacs-lisp/ring.el (ring-empty-p): Use `zerop'.
	(ring-p, ring-plus1, ring-minus1, ring-length, ring-index)
	(ring-empty-p, ring-size, ring-copy, ring-ref): Doc fixes.

2003-07-11  NAKAJIMA Mikio  <minakaji@namazu.org>  (tiny change)

	* emacs-lisp/ring.el (ring-elements): Doc fix.
2003-07-11 21:53:43 +00:00
Richard M. Stallman
12cf32ce47 (debug, debugger-env-macro): Use with-no-warnings while accessing and
binding unread-command-char.
2003-07-07 20:57:50 +00:00
Stefan Monnier
1360464e62 (cl-transform-lambda): Strip &cl-defs
thingies from constructors created by defstruct.
2003-07-05 00:23:04 +00:00
Stefan Monnier
08d21785c8 (byte-compile-defvar): Check and set the default value of the variable.
(byte-code-meter): Move declaration to top level.
2003-07-04 23:47:48 +00:00
Andreas Schwab
8fd9bef258 (easy-mmode-define-navigation): Avoid
variable as format argument for error.  Don't call symbol-name on
string.
2003-06-22 16:55:47 +00:00
Stefan Monnier
2f74c84b7d (debug): Fix call to message. 2003-06-16 18:54:23 +00:00
Stefan Monnier
084ec4ce18 (cl-macroexpand-all):
Don't burp if (cadr (caddr found)) encounters a non-list element.
2003-06-16 16:35:05 +00:00
Stefan Monnier
cc1084a841 (cl-parse-loop-clause): Use map-keymap.
(defsubst*): Don't put a `cl-whole argument if it's not used.
2003-06-16 16:31:29 +00:00
Stefan Monnier
b86170f9b7 (pushnew): Use keywordp. 2003-06-16 16:27:27 +00:00
Stefan Monnier
cba937fd5c (disassemble): Accept plain expressions. 2003-06-16 16:26:34 +00:00
Stefan Monnier
f47f530244 (copyright-update-year): New function extracted from copyright-update.
When `arg' is set, replace the year, not the `copyright' text.
Ignore `copyright-update = nil' if called interactively.
Use "," rather than ", " if that's what was used before.
Recognize mixes of 2 and 4 digit years.
Use replace-match.
(copyright-update): Add interactivep arg.  Use it instead of use last-command.
Use replace-match.  Don't assume (point-min) == 1.
2003-06-14 20:11:37 +00:00
Richard M. Stallman
9b45407516 (lm-keywords-finder-p): Use with-no-warnings. 2003-06-04 09:48:50 +00:00
Juanma Barranquero
d8bae9fc04 (last-sexp-toggle-display): Remove stale comment. 2003-06-03 23:14:25 +00:00
Richard M. Stallman
c4e2d7912b (eval-last-sexp-1): Add save-excursion. 2003-06-03 11:10:31 +00:00
Lute Kamstra
ccb78fa385 (lm-synopsis): Use relative filenames correctly. Show the synopsis to
the user when appropriate.  Do not kill buffers that were created
outside `lm-synopsis'.
2003-06-02 10:23:19 +00:00
Juanma Barranquero
5e046f6d57 Moved from lisp/. 2003-05-30 23:31:15 +00:00
Juanma Barranquero
db47d2ab7a Moved to obsolete/. 2003-05-30 23:24:41 +00:00
Stefan Monnier
552754fed2 Typo (no clue what happened). 2003-05-30 15:35:54 +00:00
Stefan Monnier
5121ef4cd5 (edebug-storing-offsets): Move indent and debug to inside the macro.
(edebug-read-storing-offsets): Simplify.
(edebug-read-quote, edebug-read-function): Place the start-position correctly.
(edebug-read-backquote-new): Remove.
(edebug-read-backquote-level): New var to replace it.
(edebug-read-backquote): Increment it.  Don't store offsets one extra time.
(edebug-read-comma): Decrement it.  Read the comma as a plain
symbol if outside of any new-style backquote.
(edebug-read-list): Use edebug-read-backquote-level.
Don't call edebug-read-backquote directly.  This way the extra
offsets store is done exactly when it's needed.
(edebug-read-vector): Use push.
(defmacro): Add support for the `declare' thingy.
2003-05-30 15:34:02 +00:00
Stefan Monnier
d2d6d47de0 (define-derived-mode, define-minor-mode): Remove outdated spec.
(save-match-data, with-output-to-string, with-current-buffer)
(combine-after-change-calls, with-temp-buffer, dolist, dotimes)
(unless, when): Remove specs that are now in the corresponding macro.
2003-05-29 22:20:47 +00:00
Stefan Monnier
d778509cc2 (edebug-window-list): Use push.
(edebug-macrop): Use functionp.
(edebug-functionp): Remove.
(edebug-get-displayed-buffer-points): Use push.
(edebug-set-buffer-points): Use save-current-buffer and buffer-live-p.
(edebug-list-form): Remove dead code.
(backquote-form): Correctly handle `(a . ,b).
(edebug-mode-map, global-edebug-map): Move init to inside the defvar.
2003-05-29 22:09:24 +00:00
Stefan Monnier
2e2a00756f (define-minor-mode): Add edebug spec.
Accept a :keymap argument, as you'd expect.
2003-05-29 21:54:35 +00:00
Richard M. Stallman
3b8d36f152 (last-sexp-toggle-display):
Undo previous change (don't check for eob).  Widen at the beginning.
2003-05-28 11:27:52 +00:00
Richard M. Stallman
3c9dc1cf0d (byte-compile-no-warnings): New function.
(with-no-warnings): Set up compile handler.
2003-05-28 11:26:45 +00:00
Stefan Monnier
c689a61d1c (lisp-font-lock-syntactic-face-function): Don't infinite lop at bob.
(emacs-lisp-mode): Mark its main custom group to be `lisp'.
(prin1-char): New fun.
(eval-last-sexp-1): Use it.  Use with-syntax-table as well.
(eval-defun-1): Don't replace `defvar' with `defconst'.
2003-05-27 14:17:17 +00:00
Lute Kamstra
d547e25f45 (checkdoc-file-comments-engine): Use
`lm-commentary-end' to find the end of the commentary section.
2003-05-23 10:10:24 +00:00
Lute Kamstra
c7dff41d3f Make the description of the library more
accurate.
(lm-any-header): New user option.
(lm-section-start): New function; rewrite of `lm-section-mark'.
(lm-section-mark): Make alias of `lm-section-start'.
(lm-section-end): New function.
(lm-code-start): New function; rewrite of `lm-code-mark'.
(lm-code-mark): Make alias of `lm-code-start'.
(lm-commentary-start): New function; rewrite of
`lm-commentary-mark'.
(lm-commentary-mark): Make alias of `lm-commentary-start'.
(lm-commentary-end): New function.
(lm-history-start): New function; rewrite of `lm-history-mark'.
(lm-history-mark): Make alias of `lm-history-start'.
(lm-commentary): Use `lm-commentary-end' to find the end of the
commentary section.
2003-05-23 10:08:34 +00:00
Richard M. Stallman
cb4f3fc8a8 (find-function-on-key): Move the call to find-function-other-window
outside the save-excursion.
2003-05-19 14:47:46 +00:00
Stefan Monnier
b5ed9def80 (beginning-of-defun-raw): Use shy-group. 2003-05-18 21:51:01 +00:00
Stefan Monnier
6826a1342e (make-autoload): Add arglist for define-derived-mode. 2003-05-15 15:24:24 +00:00
Juanma Barranquero
74dfa72fa3 (popup-dialog-box): Don't quote nil and t in docstrings. 2003-05-06 17:49:24 +00:00
Juanma Barranquero
89a5038d51 (buffer-syntactic-context): Don't quote nil and t in docstrings. 2003-05-06 17:48:39 +00:00
Juanma Barranquero
a8ea72a078 (case, typecase): Don't quote nil and t in docstrings. 2003-05-06 17:37:04 +00:00
Juanma Barranquero
66d0d12c98 (eldoc-echo-area-use-multiline-p): Don't quote nil and t in docstrings. 2003-05-06 17:36:16 +00:00
Stefan Monnier
824c61ddc6 (ad-make-advised-docstring): Adjust usage for new help-add-fundoc-usage. 2003-05-06 13:58:30 +00:00
Kenichi Handa
844da0ff4c (byte-compile-file): Fix comment 2003-05-06 05:10:59 +00:00
John Paul Wallington
375d5635f9 (batch-update-autoloads): Call `update-directory-autoloads'. 2003-05-05 00:25:11 +00:00
Richard M. Stallman
56eebc2963 (update-directory-autoloads): Renamed from
update-autoloads-from-directories.
2003-05-04 13:08:58 +00:00
Stefan Monnier
09dae035eb (cl-map-keymap): Redefine as alias.
(cl-map-keymap-recursively): Use map-keymap.
(cl-macroexpand-all): Don't quote functions.
2003-05-04 00:44:25 +00:00
Stefan Monnier
0d7a020af5 (cl-map-keymap): Be careful with aliases. 2003-05-04 00:34:16 +00:00
Stefan Monnier
24c22ecf5a (ad-get-enabled-advices, ad-special-forms)
(ad-arglist, ad-subr-arglist): Use push and match-string.
(ad-make-advised-docstring): Extract & reinsert the usage info.
2003-05-04 00:32:46 +00:00
Stefan Monnier
dca6b77cab (easy-menu-get-map): Correctly handle non-submap bindings. 2003-04-30 20:53:04 +00:00
John Paul Wallington
6640c250eb (byte-compile-cl-warn): Use `string-match'. 2003-04-29 02:56:25 +00:00
Dave Love
118861dfa8 (byte-compile-cl-warn): Avoid cl warnings
from caaar & al.
2003-04-28 22:05:17 +00:00
Juanma Barranquero
59b2ee6929 (regexp-opt-depth): Don't count a "//(" which appears inside a character set.
(regexp-opt-not-groupie*-re): New constant.
2003-04-26 23:29:45 +00:00
Sam Steingold
10b97bf735 symbol-macrolet' is similar to let', not `multiple-value-bind'. 2003-04-25 02:00:17 +00:00
Richard M. Stallman
a81edd91e0 Comment change. 2003-04-24 01:52:37 +00:00
Richard M. Stallman
d8c9125887 (byte-compile-defun): Generate and compile a defalias form,
unless byte-compile-compatibility.
2003-04-24 01:51:54 +00:00
Richard M. Stallman
592060ab2f (emacs-lisp-mode-syntax-table): Give @ prefix syntax. 2003-04-24 01:36:13 +00:00
Stefan Monnier
d0e07261a2 (byte-compile-defvar): Improve message. 2003-04-21 15:48:28 +00:00
Richard M. Stallman
977f31f883 (byte-compile-log-file, (byte-recompile-directory): Don't use
byte-goto-log-buffer.  Instead, set default-directory and then call
compilation-mode.

(byte-compile-from-buffer): Force byte-compile-last-position
to end of buffer before issuing final warnings.
2003-04-19 04:18:37 +00:00
Stefan Monnier
eb81f2758f (define-minor-mode): Only echo a message if the body didn't do so already.
(easy-mmode-define-keymap): Remove unused var `suppress'.
2003-04-18 17:31:05 +00:00
Stefan Monnier
582a857ccc (byte-compile-const-symbol-p): Rename arg. 2003-04-16 20:10:33 +00:00
Richard M. Stallman
1d24f61858 (last-sexp-toggle-display): At end of buffer, run the global binding
of the same key.
2003-04-14 10:09:35 +00:00
Stefan Monnier
8898f44ea6 (byte-compile-file-form-defvar, byte-compile-defvar):
Fix last commit which mistakenly relied on not-yet committed code.
2003-04-12 21:39:50 +00:00
Stefan Monnier
6c2161c427 Use push, with-current-buffer, dolist, ...
(byte-compile-const-variables): New var.
(byte-compile-close-variables): Reset it.
(byte-compile-file-form-defvar, byte-compile-defvar): Update it.
(byte-compile-const-symbol-p): Now arg `value' to check defconsts.
(byte-compile-variable-ref): Use it and improve warning message.
(byte-compile-check-lambda-list): Use byte-compile-const-symbol-p.
(byte-compile-lapcode): Remove unused vars.
(byte-compile-eval): Fix thinko in handling of old-autoloads.
(byte-recompile-directory): Use the expanded form for directory.
(byte-compile-track-mouse): Use modern backquote syntax.
(byte-compile-defvar): Detect and properly handle (defconst a).
(byte-compile-defalias-warn): Remove unused arg `alias'.
(byte-compile-defalias): Update call.
2003-04-12 20:28:10 +00:00
Richard M. Stallman
98996d899e (last-sexp-toggle-display): At end of buffer, just call `newline'. 2003-04-09 01:32:45 +00:00
Richard M. Stallman
56708dce08 (last-sexp-toggle-display): Correct the starting point for
previous-single-property-change.
2003-04-06 20:17:01 +00:00
Richard M. Stallman
efc13f4638 (easy-menu-define): Don't make a defvar for nil.
(easy-menu-convert-item-1): Doc fix.
(easy-menu-change): Call easy-menu-create-menu.
2003-04-03 23:15:47 +00:00
Juanma Barranquero
b08b261e8b (checkdoc-display-status-buffer): Fix docstring.
(checkdoc-interactive, checkdoc-message-interactive): Make them perform spell
checking when appropriate.
(checkdoc-interactive-loop): Fix docstring and a few typos.
(checkdoc-interactive-ispell-loop)
(checkdoc-message-interactive-ispell-loop): New functions.
(checkdoc-next-error): Fix docstring.
(checkdoc-this-string-valid-engine): Fix typo.
(checkdoc-ispell-docstring-engine): Do test for checkdoc-autofix-flag = nil.
2003-03-28 17:38:50 +00:00
Jonathan Yavner
7119cefec2 No error when marking functions whose body just returns a constant. Handle
screwy top-level macros that create functions and store them as properties of
symbols.  Support for CL's function* macro.
2003-03-28 16:45:19 +00:00
Stefan Monnier
e64e9e6a7f (byte-optimize-set): Avoid CLism. 2003-03-25 16:48:43 +00:00
Stefan Monnier
66ff289307 (byte-optimize-set): New. Turn set' into setq' when applicable. 2003-03-25 16:34:00 +00:00
Stefan Monnier
73ceba9f1a (define-minor-mode): Use custom-set-minor-mode.
Pass unknown keyword args blindly to defcustom.
2003-03-24 17:41:43 +00:00
Stefan Monnier
4a1186d388 (easy-menu-add-item): Align the docstring with the code. 2003-03-24 17:29:20 +00:00