1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

970 Commits

Author SHA1 Message Date
Stefan Monnier
115f38ae50 (easy-menu-convert-item-1): Only intern if the label is a string. 2000-07-14 08:43:32 +00:00
Stefan Monnier
3a4f3f86ef (easy-menu-convert-item-1): Intern the label. 2000-07-14 08:39:48 +00:00
Dave Love
4d6d04b504 Doc fixes.
(easy-menu-remove): Defalias to ignore.
2000-07-13 19:06:25 +00:00
Stefan Monnier
5e2dfaa48e Require CL.
(copy-tree, remprop): Remove, it's provided by CL.
(map-keymap): Define in terms of cl-map-keymap.
(extent-property, set-extent-end-glyph): New functions.
2000-07-05 22:07:21 +00:00
Stefan Monnier
8d9f77f43c (cl-map-keymap): Handle char-tables in keymaps. 2000-07-05 22:00:58 +00:00
Gerd Moellmann
e2b1c42435 (cl-old-mapc): Removed; don't defalias mapc.
(cl-mapc): Use mapc instead of cl-old-mapc.
2000-07-05 17:29:40 +00:00
Stefan Monnier
d0acce1e29 (easy-menu-define): Docstring fix.
(easy-menu-do-define): Use `menu-item' format.
Handle case where easy-menu-create-menu returns a symbol.
Manually call the potential top-level filter in the function binding.
(easy-menu-filter-return): New arg NAME.
Convert to a keymap if MENU is an XEmacs menu.
(easy-menu-convert-item-1): New.  Extracted from easy-menu-do-add-item.
(easy-menu-converted-items-table, easy-menu-convert-item): New.
(easy-menu-do-add-item): Use it.
(easy-menu-create-menu): Use easy-menu-convert-item.
Wrap easy-menu-filter-return around any :filter specification.
Don't convert the menu if a filter was specified.
Tell easy-menu-make-symbol not to check for MENU being an expression.
(easy-menu-make-symbol): New arg NOEXP.
2000-07-05 15:40:03 +00:00
Gerd Moellmann
105d6be118 (eval-defun-2): Remove parameter
EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
(eval-defun): If called with prefix arg, instrument code for
Edebug.
2000-07-05 15:16:15 +00:00
Gerd Moellmann
44b6285eb6 (edebug-eval-defun): Make doc string
similar to that of eval-defun.
2000-07-05 15:15:53 +00:00
Gerd Moellmann
e940c6dabf (edebug-window-live-p, edebug-window-list)
(edebug-get-displayed-buffer-points): Use walk-windows/some-window
instead of cycling through windows with next-window.
2000-07-03 09:12:12 +00:00
Sam Steingold
5d80cc9cbc handle print-unreadable-object 2000-06-20 15:01:59 +00:00
Sam Steingold
3a8e2ba917 ignore *.elc 2000-06-19 16:16:01 +00:00
Stefan Monnier
811ec3a8df (gulp-send-requests): Don't quote lambda. 2000-06-12 05:08:46 +00:00
Stefan Monnier
72d8b544c6 (byte-compile-log-lap-1)
(byte-optimize-inline-handler, byte-optimize-form-code-walker)
(byte-optimize-apply, end of file): Don't quote lambda.
2000-06-12 05:06:37 +00:00
Stefan Monnier
571b4b9325 (ad-advice-class-completion-table)
(ad-make-freeze-definition): Don't quote lambda.
2000-06-12 04:59:26 +00:00
Stefan Monnier
e8139c11fb (make-autoload): Use `cond'.
Handle easy-mmode-define-global-mode.
For complex macros like define-minor-mode that can generate
several autoload entries, try to autoload entries in the
macroexpanded code.
2000-06-11 05:00:35 +00:00
Stefan Monnier
1328a6dfa2 (define-minor-mode): If KEYMAP is a symbol, just use it.
Use byte-compile-current-file and load-file-name to infer the
proper :require to pass to defcustom.
Wrap the hook var into `progn' so as not to autoload it.
Add a :autoload-end cookie.
Be more careful about the evaluation of KEYMAP.
(easy-mmode-define-global-mode): Add a :autoload-end cookie.
(define-derived-mode): Move define-abbrev-table outside of defvar.
2000-06-11 04:55:57 +00:00
Stefan Monnier
44bd81eacc (make-autoload): Other typo. I'm getting tired. 2000-06-05 06:37:11 +00:00
Stefan Monnier
e971339e72 (make-autoload): let* typo. 2000-06-05 06:33:44 +00:00
Stefan Monnier
a8add29deb (make-autoload): Simplify docstring.
Make use of symbol-property doc-string-elt.
Use memq rather than a sequence of eq.
(doc-string-elt): Fix the wrong or missing previously unused values.
(autoload-print-form): New function extracted from
generate-file-autoloads to allow recursion when handling progn
so that defvar's and defun's docstrings are properly printed.
(generate-file-autoloads): Use it.
2000-06-05 06:30:48 +00:00
Stefan Monnier
d5b037c5bf (easy-mmode-define-global-mode): Autoload.
Use find-file-hooks in the minor-mode function.
Be careful not to loop indefinitely in the post-command-hook function.
2000-06-05 06:06:30 +00:00
Stefan Monnier
be22f4cc63 Require CL during compilation.
(easy-mmode-define-global-mode): New macro.
(define-minor-mode): Fix the handling of `group'.
(easy-mmode-define-keymap): Use case.
2000-06-04 23:40:58 +00:00
Stefan Monnier
b5bbbb7612 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
(easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
and improve to use the lighter to guess the capitalization.
(define-minor-mode): Inline code from easy-mmode-define-toggle.
Add keyword arguments to specify global-ness or the custom group.
Add local-map and help-echo properties to the lighter.
(easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
2000-06-04 20:59:47 +00:00
Stefan Monnier
3837de1250 (easy-mmode-derive-name): New function.
(easy-mmode-define-toggle, define-minor-mode): Use it.
(easy-mmode-define-keymap): Docstring fix.
(define-derived-mode): Default PARENT to fundamental-mode.
Add the derived-mode-parent symbol-property.
(easy-mmode-derived-mode-p): New function.
2000-06-02 23:07:08 +00:00
Stefan Monnier
20482b7061 * byte-run.el (make-obsolete, make-obsolete-variable):
Add an optional WHEN argument and change the format of the
symbol-property information.
* emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
(byte-compile-obsolete, byte-compile-variable-ref): Understand the
new obsolete-symbol-property format and print WHEN if it is provided.
(make-obsolete): Update the calls to use the third argument.
2000-06-01 04:58:08 +00:00
Dave Love
c2641e5f2d (elp-version): Deleted. 2000-05-26 13:02:13 +00:00
Dave Love
ed62683d5a (byte-compile-callargs-warn): Use subr-arity to check primitives.
(byte-compile-flush-pending, byte-compile-file-form-progn)
(byte-compile-normal-call, byte-compile-list, byte-compile-concat)
(byte-compile-insert, byte-compile-funcall): Use mapc instead of
mapcar.
2000-05-26 10:35:38 +00:00
Dave Love
80265cddc5 Change maintainer to FSF. 2000-05-26 09:15:41 +00:00
Dave Love
c2413c67aa Add finder keywords. 2000-05-25 18:29:18 +00:00
Dave Love
36172f4965 (elp-restore-function): Don't use obsolete byte-code-function-p. 2000-05-25 18:24:44 +00:00
Eli Zaretskii
bc46628f73 (edebug-emacs-19-specific): Call
display-popup-menus-p instead of looking at window-system.
2000-05-25 16:55:17 +00:00
Stefan Monnier
40aeecadb8 Rewritten to take advantage of shy-groups and
intervals which makes it heaps simpler.
2000-05-22 04:29:52 +00:00
Dave Love
6a475c9955 (ring-elements): New function. 2000-05-21 17:29:50 +00:00
Dave Love
b9f5db901f (easy-menu-create-menu, easy-menu-do-add-item): Use keywordp. 2000-05-21 17:26:47 +00:00
Dave Love
049a65a311 Update side-effect free function lists. 2000-05-21 17:24:19 +00:00
Stefan Monnier
c8c21615b8 Update copyright and commentary.
(easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
Print a status message if the toggle is called interactively.
(define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
for global minor modes and use `defcustom' for them.
Use add-minor-mode.
(easy-mmode-define-derived-mode): Remove.
(define-derived-mode): Fancier default docstring.
(easy-mmode-define-navigation): Signal an error rather than (ding).
2000-05-21 01:44:08 +00:00
Stefan Monnier
3f0c3d8b96 (lisp-mode-variables): Set comment-add. 2000-05-19 21:36:14 +00:00
Stefan Monnier
ac5cb26d90 (regexp-opt-depth): Fix regexp. 2000-05-10 22:43:28 +00:00
Dave Love
64a4c526f4 Doc fixes; mainly avoid duplicating arg
list in doc string.  Don't quote keyword symbols.
2000-05-05 20:01:01 +00:00
Gerd Moellmann
ec266158e4 (crm-completion-table): New variable.
(crm-collection-fn, crm-test-completion)
(completing-read-multiple): Use it.
2000-04-27 19:00:09 +00:00
Gerd Moellmann
612839b6b2 *** empty log message *** 2000-04-25 19:43:58 +00:00
Dave Love
e10b9e3264 (cl-old-mapc): Fix definition.
(cl-mapc): Rename from mapc.  Fix the funcall.
2000-04-19 22:31:21 +00:00
Gerd Moellmann
4f1390acaa (gulp-maintainer): Use expand-file-name
instead of concat.
2000-04-19 14:39:19 +00:00
Dave Love
aa455f0b87 Change maintainer. Use new backquote
syntax.
2000-04-13 19:12:13 +00:00
Dave Love
a16fcdfc64 Remove when, unless. 2000-04-13 19:10:09 +00:00
Dave Love
be0dd6570e (edebug-keywordp): Remove. Change callers
to use keywordp.
(edebug-spec): Enable keywordp.
2000-04-13 19:04:33 +00:00
Dave Love
88d9af06cb (keywordp): Remove. 2000-04-13 19:04:00 +00:00
Dave Love
cf6bc7c3a5 Don't quote keywords.
(cl-old-mapc): New variable.
(mapc): Use it.
(cl-map-intervals): Use with-current-buffer.  Don't check for
next-property-change.
(cl-map-overlays): Use with-current-buffer.
(cl-expt): Remove.
(copy-tree, remprop): Define unconditionally.
2000-04-13 19:03:34 +00:00
Gerd Moellmann
25112054fe (easy-menu-create-menu): Process menu
item help string.
(easy-menu-do-add-item): Ditto.
(easy-menu-define): Extend doc string.
2000-04-09 10:59:46 +00:00
Dave Love
3f923efebf Fix specs for dolist, dotimes, push, pop, unless, when. 2000-04-08 23:42:11 +00:00