Commit graph

1032 commits

Author SHA1 Message Date
Stefan Monnier
eed083e697 (easy-mmode-define-navigation):
Allow `next' to jump to after the end of the last match.
2000-11-09 23:51:59 +00:00
Gerd Moellmann
9985d3915e (byte-compiling-files-p): New function. 2000-11-09 23:01:40 +00:00
Gerd Moellmann
6a619620de (byte-compile-current-file): Don't bind
it, so that a boundp test can be used to determine if we're
currently byte-compiling.
2000-11-09 16:07:56 +00:00
Dave Love
b0d9985339 (lisp-imenu-generic-expression): Match
defun*.
2000-11-06 12:28:33 +00:00
Stefan Monnier
6d84ac8587 (ewoc-goto-prev, ewoc-goto-next):
Don't pass default arg to ewoc-locate.
(ewoc-collect): Return result in the right order.
2000-11-06 07:13:07 +00:00
Stefan Monnier
7e1d6bdb40 (regexp-opt-group): Sort the strings when extracting a suffix. 2000-11-05 19:07:07 +00:00
Stefan Monnier
8d8ca3cf8a (find-function-do-it): Quote the hook. 2000-11-03 22:40:21 +00:00
Stefan Monnier
34befa9a5b (easy-mmode-define-global-mode): Only turn mode off if it's on. 2000-11-03 04:38:41 +00:00
Stefan Monnier
0a74e3bf90 (define-minor-mode): Remove :toggle arg.
Correctly handle the case where several :group args are supplied.
Allow :extra-args.
(easy-mmode-define-global-mode): Allow :extra-args.
Correctly handle the case where several :group args are supplied.
2000-11-03 04:26:33 +00:00
Dave Love
f35a761820 (find-variable-regexp): Avoid defgroup. 2000-11-02 17:42:10 +00:00
Gerd Moellmann
0a5218851d (authors-public-domain-files): New variable.
(authors-public-domain-p): New function.
(authors-print): Use it.
2000-11-02 15:37:03 +00:00
Stefan Monnier
bff5341176 (define-minor-mode):
Revert the latest changes.
Allow the three positional arguments to be skipped and replaced
by keyword arguments.
Add a :toggle argument to determine whether a nil arg means toggle
or means turn-on.  The default is unchanged.
Add a call to force-mode-line-update.
2000-11-01 23:31:59 +00:00
Dave Love
02af1bf14a (elp-restore-function): Remove autoload
cookie.
2000-11-01 19:14:57 +00:00
Dave Love
4edc4a39e6 (elp-unload-hook): New function. 2000-10-31 12:05:34 +00:00
Miles Bader
3ffa67e03d Doc fix. 2000-10-28 06:24:19 +00:00
Miles Bader
eab6e8b99b (define-minor-mode): Generate turn-on-MODE' and turn-off-MODE'
functions unless the mode is global.  If :global is followed by a
non-nil but non-t value, make the mode buffer-local, but also generate a
`global-MODE' version using `easy-mmode-define-global-mode'.  Add
:conditional-turn-on keyword argument.
2000-10-28 06:07:30 +00:00
Gerd Moellmann
d5ab63b2e2 (batch-update-authors): New function.
(authors-fixed-entries): New defconst.
(authors-add-fixed-entries): New function.
(authors): Call it.: Don't process lispref/.
2000-10-25 19:01:38 +00:00
Gerd Moellmann
0a9ad6144d (authors-aliases): Add some more aliases.
(authors): Set file coding system to iso-2022-7bit.  Add
file-local variables to output buffer.
2000-10-24 20:41:46 +00:00
Gerd Moellmann
c7f18fbafd (defun-prompt-regexp): Doc fix. 2000-10-24 11:22:48 +00:00
Miles Bader
3b6542bab5 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil. 2000-10-23 10:27:47 +00:00
Miles Bader
cb3069bb5e [the following changes fix a bug where `define-minor-mode' didn't
correctly generate :require clauses for defcustoms in compiled files]

(byte-compile-last-logged-file):
  New variable.
(byte-compile-log-file, byte-compile-log-1):
  Don't set `byte-compile-current-file' to nil.
  Instead set `byte-compile-last-logged-file' to it.
  Test whether byte-compile-current-file equals byte-compile-last-logged-file
    instead of whether its nil.
2000-10-23 09:16:47 +00:00
Gerd Moellmann
9c1af54670 (authors-add): Don't add an entry if
author's name is unknown.
2000-10-16 12:52:19 +00:00
Stefan Monnier
e4fe3460db (easy-mmode-define-syntax): Use plist-get and allow :inherit. 2000-10-15 05:25:57 +00:00
Stefan Monnier
a2d379fb25 (cl-do-arglist): Use plist-get and plist-member instead of memq. 2000-10-15 05:23:57 +00:00
Stefan Monnier
10c471e6a3 (ewoc-location): New function.
(ewoc-enter-after, ewoc-enter-before): Document return value.
2000-10-15 05:16:36 +00:00
Stefan Monnier
70e58f9002 (cl-builtin-gethash, cl-builtin-remhash)
(cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
2000-10-15 04:49:20 +00:00
Gerd Moellmann
b41c9501e8 (down-list, backward-up-list, up-list): Doc fix. 2000-10-13 11:46:11 +00:00
Stefan Monnier
908bb42fa1 (regexp-opt): Add \< and \> if PAREN=`words'. 2000-10-08 18:50:43 +00:00
Dave Love
99ec65b3b5 (lisp-imenu-generic-expression): Don't
insist on symbols starting with word syntax.
(lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
(eval-defun-1): Doc fix.
(indent-sexp): Use nconc to build up indent-stack.
2000-10-08 17:23:50 +00:00
Dave Love
e75667a0bd Comment. 2000-10-06 18:37:50 +00:00
Dave Love
a469e8baa8 (find-function-regexp): Remove spurion.
Fix for define-minor-mode.
(function-at-point): Alias to function-called-at-point.
2000-10-06 18:35:24 +00:00
Miles Bader
09cb764685 (define-derived-mode): Tweak generated docstring parts. 2000-10-06 05:32:14 +00:00
Dave Love
944425c0c3 (byte-optimize-lapcode): Don't bind
unused vars.  Treat byte-constant2 like byte-constant.  Fix bogus
comparison of opcode with operand.
2000-10-02 17:44:51 +00:00
Miles Bader
aa0c3dca64 (easy-mmode-define-navigation):
Call `recenter' with an arg to prevent redrawing the display.
2000-10-01 03:38:23 +00:00
Stefan Monnier
b643ec5311 (easy-mmode-pretty-mode-name): Prettier. 2000-10-01 00:58:35 +00:00
Stefan Monnier
f77eca766a (lisp-complete-symbol): Only jump 2 not 3 levels. 2000-10-01 00:57:13 +00:00
Stefan Monnier
bba6564ccf (regexp-opt-group): Put more parenthesis. 2000-10-01 00:08:49 +00:00
Gerd Moellmann
8a5506f297 (authors-obsolete-file-p): New function.
(authors-obsolete-files-regexps): New variable.
(authors-add): Don't record changes in obsolete files.
2000-09-30 12:06:40 +00:00
Miles Bader
09789412c3 (authors-print): Rephrase many-files string. 2000-09-29 13:55:23 +00:00
Stefan Monnier
11ae6c5d0d (lisp-complete-symbol):
Distinguish the let-binding case from the funcall case.
(forward-sexp-function): New variable.
(forward-sexp): Use it.
2000-09-29 03:30:04 +00:00
Stefan Monnier
5d78d57daf (easy-mmode-define-keymap): Autoload.
(easy-mmode-defmap): Remove the now useless autoload.
2000-09-29 03:27:28 +00:00
Gerd Moellmann
9a9f44a4a4 (authors-add): Use `nconc' instead of
`append'.
2000-09-28 16:21:17 +00:00
Gerd Moellmann
1bc20d83cb (byte-compile-defvar-or-defconst): Only cons onto
current-load-list in top-level forms.  Else this leaks a cons cell
every time a defun is called.
2000-09-25 15:41:30 +00:00
Stefan Monnier
438cdcdeb0 (lm-get-header-re): Allow spaces between the header and the colon.
(lm-header-prefix): Cleanup the regexp.
(lm-header): Allow $ in non-RCS headers.
(lm-header-multiline): Put the strings back into order.
Stop at an empty line.  Don't require two space chars if the
line is clearly not another header line.
2000-09-17 01:00:09 +00:00
Stefan Monnier
40716cd9c4 (popup-menu, popup-menu-internal, popup-menu-popup): Remove. 2000-09-16 23:35:51 +00:00
Gerd Moellmann
71246c2c41 Undo last change
because it breaks '(make-variable-buffer-local (defvar ...)'
which is used at least in dired.
2000-09-12 09:10:56 +00:00
Gerd Moellmann
cc0f95a474 (byte-compile-defvar): Only cons onto
current-load-list in top-level forms.  Else this leaks a cons cell
every time a defun is called.
2000-09-11 18:26:43 +00:00
Dave Love
28bb2cef02 (mapc): Use byte-compile-funarg. 2000-08-27 21:55:00 +00:00
Gerd Moellmann
f15e298c4a (cl-macroexpand): Doc fix. 2000-08-21 11:38:26 +00:00
Dave Love
e50c4203bf (defun-prompt-regexp, parens-require-spaces): Doc fix.
(down-list, backward-up-list, up-list, kill-sexp)
(backward-kill-sexp, mark-sexp)): Make arg optional.
(lisp-complete-symbol): Add optional arg PREDICATE.
2000-08-20 18:12:07 +00:00