1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00
Commit Graph

1395 Commits

Author SHA1 Message Date
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
John Paul Wallington
4b0cbff969 (easy-menu-add-item): Don't default to the global map. 2003-03-24 12:21:02 +00:00
Stefan Monnier
26647ce218 (easy-menu-name-match): Catch any error that member-ignore-case might signal.
(easy-menu-add-item): Default to the global map, as documented.
(easy-menu-convert-item-1): Use match-string.
2003-03-16 00:39:23 +00:00
Matthew Swift
3e8737bf4c (emacs-lisp-docstring-fill-column): New custom variable.
(lisp-fill-paragraph): Use it.  Add ?, to `paragraph-separate' so
that first docstring lines ending with a comma are respected.  Add
"`(" to same so that function and macro bodies beginning with a
backquote do not get disturbed.  Revise the comments.
2003-03-02 16:18:36 +00:00
Juanma Barranquero
13453b12bc (tq-create): Fix quoted lambda. 2003-02-18 12:53:53 +00:00
Juanma Barranquero
6cae7b73a3 (Helper-help-scroller): Fix character constant. 2003-02-18 11:02:25 +00:00
Juanma Barranquero
99edd7ed8d Fix character constants. 2003-02-18 11:01:34 +00:00
Richard M. Stallman
f1b1a9f2b4 Comment change. 2003-02-17 07:54:27 +00:00
Juanma Barranquero
babce06327 (ses-exercise-signals): Fix use of character constant. 2003-02-14 09:58:27 +00:00
Stefan Monnier
d16ba2e708 (eldoc-echo-area-multiline-supported-p, eldoc-use-idle-timer-p): Remove.
(timer): Never require.  It only works in current Emacs anyway.
(eldoc-mode, eldoc-message, eldoc-display-message-p)
(eldoc-docstring-format-sym-doc, eldoc-remove-command): Simplify.
2003-02-11 00:11:55 +00:00
Stefan Monnier
7bd4aefba7 (process-get): Add setf method. 2003-02-10 21:45:14 +00:00
Juanma Barranquero
c6a7f93869 (checkdoc-minor-keymap): Add obsolescence declaration and remove redundant info
from docstring.
2003-02-05 23:15:01 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Dave Love
500ae43022 *** empty log message *** 2003-02-03 15:00:57 +00:00
John Paul Wallington
e2cd29bdb4 * font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.
* emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
`deftheme'.  Fix docstring offsets for `define-ibuffer-filter' and
`define-ibuffer-sorter'.
(lisp-imenu-generic-expression): Add `deftheme' to types.

* custom.el (customize-mark-to-save, customize-mark-as-set)
(custom-remove-theme): Doc fixes.
2003-01-29 21:45:56 +00:00
Kim F. Storm
f39caf4436 New format of AUTHORS file; list each
author name once followed by contributed and changed files.
Improve selection of entries to include in list, and generate list
of unrecognized entries indicating syntax errors in ChangeLog files.
(authors-coding-system): New variable.
(authors-many-files): Update doc string.
(authors-aliases): Change format. Now one entry with multiple
aliases per author.
(authors-valid-file-names, authors-renamed-files-alist)
(authors-renamed-files-regexps): New variables.
(authors-canonical-file-name): New function.  Validates that file
exists or occurs in one of the above lists.  Record unrecognized
file names in global authors-invalid-file-names list.
(authors-add): Change to record per-change counts.
(authors-canonical-author-name): Handle new format of
authors-aliases list.
(authors-scan-change-log): Rename FILE arg to LOG-FILE.
Change doc string to describe new entry format.
Only add author entries for valid file names.
(authors-print): Replace by authors-add-to-author-list.
(authors-add-to-author-list): New function which reorders
per-file entries and adds them to global authors-author-list.
(authors): Instead of authors-print to insert in *Authors* buffer,
use authors-add-to-author-list to reorder the list and then
insert result in *Authors* buffer with new format.
Generate *Authors Errors* compilation-mode buffer listing
unrecognized ChangeLog entries.
2003-01-29 00:13:11 +00:00
Jan Djärv
66fd374bab Added Jan D in alias 2003-01-26 18:39:08 +00:00
Richard M. Stallman
347a36bc5b (byte-compile-file-form-custom-declare-variable):
Compile any lambda-expressions among the args.
2003-01-25 19:44:24 +00:00
Stefan Monnier
94abe30b0c (regexp-opt-group): Undo last change. Fix the docstring instead. 2003-01-20 21:37:02 +00:00
Richard M. Stallman
2afd5e90eb (regexp-opt-group): Compute HALF2 properly. 2003-01-20 09:00:48 +00:00
Markus Rost
d49298d9d7 (make-autoload): Generate custom-autoload for autoloaded defcustoms. 2003-01-07 18:39:14 +00:00
Dave Love
56cfa2440e (byte-optimize-nth)
(byte-optimize-nthcdr): Fix for case of wrong-length forms.
2003-01-05 00:28:18 +00:00
Dave Love
7b1824c287 (find-variable-noselect): Make it work
with new load-history format.
2003-01-03 21:12:01 +00:00
John Paul Wallington
14f0195b44 Update copyright. 2003-01-03 11:53:46 +00:00
John Paul Wallington
2dba57c18e (eldoc-get-var-docstring): Only return a
documentation string when `sym' is non-nil.
2003-01-03 11:46:20 +00:00
Richard M. Stallman
76efe10ec7 Don't define a name for the minor mode menu. 2002-12-23 17:59:54 +00:00
Richard M. Stallman
74c7e66da4 (easy-menu-do-define): Handle nil for SYMBOL.
(easy-menu-define): Doc fix, say SYMBOL can be nil.
2002-12-23 17:59:04 +00:00
Richard M. Stallman
c53f9b3b9c (rx-and): Generate a shy group.
Specify `no-group' when calling rx-to-string.
(rx-submatch): Specify `no-group' when calling rx-to-string.
(rx-kleene): Use rx-atomic-p to decide whether to make a group.
(rx-atomic-p): New function.
2002-12-23 17:43:24 +00:00
David Kastrup
4994a50d17 (autoload-ensure-default-file): insert
missing space in file end comment.
2002-12-15 22:40:03 +00:00
Markus Rost
dce88ea679 (define-minor-mode): Use `custom-current-group'.
Pass all groups to the hook.
(easy-mmode-define-global-mode): Use `custom-current-group'.
2002-12-13 23:54:45 +00:00
Stefan Monnier
e8f3c355cf (byte-optimize-form-code-walker):
Optimize the remaining part of for-effect and/or expressions.
2002-12-13 19:52:46 +00:00
Dave Love
e5c230f42f (byte-optimize-featurep): New. 2002-12-12 20:28:32 +00:00
Dave Love
b8234c844c (byte-compile-if): Suppress warnings from
things protected by `(if (fboundp ...' or `(if (boundp ...'.
2002-12-12 20:27:43 +00:00