Commit graph

3234 commits

Author SHA1 Message Date
Richard M. Stallman
5fe4899af7 (elp-pack-number): New function.
(elp-output-results): Use elp-pack-number to truncate time strings,
watching out for very small or very large numbers.

(elp-unset-master): Make it an interactive command.
1994-12-24 04:27:01 +00:00
Richard M. Stallman
7c7daa220d (set-keymap-parent): Fix bug in case of empty keymap.
(switch-to-other-buffer): Fix one-off error.
1994-11-17 16:01:49 +00:00
Karl Heuer
89961ff8c9 (debugger-list-functions): Set help-mode in *Help* buffer. 1994-11-09 05:50:58 +00:00
Karl Heuer
eab4afdca2 (Helper-describe-mode): Set help-mode in *Help* buffer. 1994-11-09 05:50:05 +00:00
Karl Heuer
c759701d76 (update-copyright): Set help-mode in *Help* buffer. 1994-11-09 05:46:01 +00:00
Richard M. Stallman
b0bfea296d (byte-compile-insert-header): Escape backslashes
in FILENAME when putting it inside a string constant.
1994-11-01 09:54:39 +00:00
Richard M. Stallman
2cd0169dc8 (byte-compile-file): Treat windows-nt like ms-dos. 1994-11-01 05:52:42 +00:00
Richard M. Stallman
2a8160e652 (cl-macroexpand): keep documentation from `macroexpand'. 1994-11-01 04:21:03 +00:00
Richard M. Stallman
1ba15fe60c (easy-menu-define): Call `easy-menu-do-define' to do
the real work.  Document XEmacs keyword arguments.
(easy-menu-do-define): New function.
(easy-menu-create-keymaps): Support XEmacs keyword arguments in
menu definition.
1994-10-28 04:31:05 +00:00
Richard M. Stallman
815d2127f5 (easy-menu-create-keymaps): Add autoload cookie. 1994-10-18 04:59:45 +00:00
Karl Heuer
67893ba3c1 (make-lucid-menu-keymap): Allow Lucid-style keyword-based menu items.
(popup-menu): Update documentation string to describe the new syntax.
1994-10-13 23:34:38 +00:00
Richard M. Stallman
22486a7f29 Fix typo in previous change. 1994-10-10 21:54:32 +00:00
Richard M. Stallman
c0df1d6180 (calculate-lisp-indent): Local var
last-sexp renamed to calculate-lisp-indent-last-sexp.
(lisp-indent-function): Use new name of var.
(calculate-lisp-indent-last-sexp): Var defined.
1994-10-10 21:53:52 +00:00
Richard M. Stallman
88b82b3bb6 (emacs-lisp-mode-syntax-table): Don't set syntax of formfeed. 1994-10-09 19:20:02 +00:00
Richard M. Stallman
34791302d4 (byte-compile-insert-header): Use user-mail-address. 1994-10-09 17:23:09 +00:00
Richard M. Stallman
6696af6580 (insert-parentheses): Don't insert spaces at beginning and end of buffer. 1994-09-22 06:42:30 +00:00
Richard M. Stallman
1c45ffdf8a (make-lucid-menu-keymap-disable): New variable.
(make-lucid-menu-keymap): Use that when disabling item unconditionally.
1994-09-18 05:06:35 +00:00
Richard M. Stallman
d0cb5e047d (generate-file-autoloads): Warn if we put a line
in loaddefs.el that is long enough to cause trouble.
1994-09-17 20:02:15 +00:00
Richard M. Stallman
62f91105e4 Add autoloads. 1994-09-14 20:24:21 +00:00
Richard M. Stallman
c0fd04c89d Update to 2.15. 1994-09-14 20:21:36 +00:00
Richard M. Stallman
20f5d14570 Initial revision 1994-09-14 09:03:27 +00:00
Richard M. Stallman
258544f890 Initial revision 1994-08-14 09:22:39 +00:00
Richard M. Stallman
5a51e0a670 (easy-menu-define): Doc fix. 1994-08-14 04:09:30 +00:00
Richard M. Stallman
cb88b56ea9 (byte-after-unbind-ops): Fix paren error wrt doc string. 1994-08-06 19:25:24 +00:00
Richard M. Stallman
81eee8abb0 (ad-subr-arglist): Adapted to new DOC file format. 1994-08-05 05:31:36 +00:00
Richard M. Stallman
285cdf4e20 (byte-compile-protect-from-advice): Macro deleted.
(byte-compile-from-buffer, byte-compile-top-level): Don't use it.
1994-08-04 21:47:55 +00:00
Richard M. Stallman
fabaa9b58e New handling of automatic advice activation that
exploits modified built-in versions of `fset' and `defalias' which
take care of this functionality directly:
(ad-start-advice-on-load, ad-activate-on-definition)
(ad-definition-hooks, ad-enable-definition-hooks, ad-defined-function)
(ad-advised-definers, ad-advised-byte-compilers, byte-constant)
(byte-constant-limit, byte-constant2, byte-fset)
(ad-byte-code-fset-regexp): Variables deleted.
(ad-activate-defined-function, ad-find-fset-in-byte-code)
(ad-scan-byte-code-for-fsets, ad-advised-byte-code)
(ad-recover-byte-code, ad-enable-definition-hooks)
(ad-disable-definition-hooks): Functions deleted.
(defun, defmacro, fset, defalias, define-function)
(byte-compile-from-buffer, byte-compile-top-level): Removed `defadvice'
for these functions.
(ad-save-real-definitions): Removed saving of `byte-code'.
(ad-activate-off): New dummy function.
(ad-activate-on): New name for `ad-activate'.  All calls changed.
(ad-with-auto-activation-disabled): New macro prevents automatic
advice activation.
(ad-safe-fset): New function, used instead of `ad-real-fset'.
(ad-compile-function): Disable automatic advice activation while
compiling, because `byte-compile' uses `fset'.
(ad-activate-on): Renamed from `ad-activate'.  Avoid recursive calls.
(ad-activate-on-top-level): New variable.
(ad-start-advice, ad-stop-advice, ad-recover-normality): Modified to
achieve de/activation of automatic advice activation by setting the
definition of `ad-activate' to `ad-activate-on' or `ad-activate-off'.
(ad-start-advice): Is now called unconditionally when Advice is loaded.

Made compilation behavior of advised definitions customizable, since
loading the byte-compiler takes some time and is not always worth the
cost, e.g., if one only wants to make a few simple modifications:
(ad-default-compilation-action): New variable which specifies whether
to compile an advised definition in case the COMPILE argument to
`ad-activate-on' or one of its friends was supplied as nil.
(ad-preactivate-advice): Supply negative COMPILE argument to prevent
compilation.
(ad-should-compile): New function.
(ad-activate-advised-definition): Use `ad-should-compile' to determine
whether an advised definition should get compiled.
(ad-activate-on, ad-update, ad-activate-regexp, ad-update-regexp)
(ad-activate-all): Doc fixes.
(ad-update): Leave handling of COMPILE up to `ad-activate-on'.

Extracted construction of freeze-advices from `defadvice':
(ad-make-freeze-definition): New function.
(defadvice): Use `ad-make-freeze-definition' to construct frozen defs.
1994-08-04 21:40:49 +00:00
Richard M. Stallman
910762b4b7 (emacs-lisp-mode-syntax-table): Give RET the same syntax as newline. 1994-07-25 00:32:46 +00:00
Richard M. Stallman
cffcfe6652 (byte-decompile-bytecode-1): Don't add pc values
if make-spliceable is non-nil.  (Arg renamed from make-splicable.)
1994-07-20 06:04:46 +00:00
Richard M. Stallman
3c7e6b9d2a (disassemble-1): Display the pc values.
(disassemble-column-1-indent): Increase to 8.
1994-07-20 05:33:14 +00:00
Richard M. Stallman
41cf13b9dd (byte-decompile-bytecode-1):
Put a pc value before each insn in the list we return.
1994-07-20 05:31:29 +00:00
Richard M. Stallman
44c48a834a (backquote-splice-symbol): Doc typo fix. 1994-07-12 00:43:42 +00:00
Richard M. Stallman
52ae2b4256 (lisp-complete-symbol): Bind completion-fixup-function. 1994-07-11 21:26:44 +00:00
Richard M. Stallman
b3848c2851 (byte-compile-defalias): Fix typo in prev change. 1994-07-02 00:41:28 +00:00
Richard M. Stallman
5286a84274 (byte-compile-callargs-warn): Handle function defnition
that is not a lambda expression or byte code function.
(byte-compile-arglist-warn): Likewise.
(byte-compile-defalias): New function, used to compile defalias.
(byte-compile-defalias-warn): New function.
1994-06-29 18:06:09 +00:00
Richard M. Stallman
88153c473e (easy-menu-change): New function. 1994-06-29 16:28:50 +00:00
Karl Heuer
9f04f0237a (popup-menu): Allow user to select nothing. 1994-06-25 01:42:43 +00:00
Karl Heuer
c6dd34cba2 (popup-menu): Convert list to same-size vector, not singleton vector. 1994-06-23 23:58:16 +00:00
Richard M. Stallman
9c545670f3 (ring-insert-at-beginning): New function.
Don't visit the file, just read it.
1994-06-23 23:11:02 +00:00
Richard M. Stallman
1d08cb509a (backquote-process): Fix criterion for using FIRSTLIST. 1994-06-22 15:30:42 +00:00
Richard M. Stallman
07b3798c76 Comment change. 1994-06-17 20:04:22 +00:00
Richard M. Stallman
822b684f83 (lm-section-mark): Accept extra semicolons;
accept spaces at end of line.
1994-06-17 19:59:09 +00:00
Richard M. Stallman
1af808dc42 (lisp-complete-symbol): Likewise. 1994-06-10 23:01:49 +00:00
Richard M. Stallman
e24cb6c5c4 (make-lucid-menu-keymap): Allow any form as the enabler. 1994-05-28 21:54:36 +00:00
Richard M. Stallman
f664f7000f Whitespace cleanup. 1994-05-27 05:55:15 +00:00
Richard M. Stallman
f1e20cc208 (popup-dialog-box): Bind meaning with let.
(current-menubar): Add defvar.
1994-05-23 07:41:31 +00:00
Richard M. Stallman
f97eee516b (popup-menu): Bind cmd with let. 1994-05-23 07:39:08 +00:00
Richard M. Stallman
c15d229a41 (popup-menu): Use mouse-pixel-position. 1994-05-23 04:50:18 +00:00
Richard M. Stallman
8b4b171e74 (easy-menu-create-keymaps):
Renamed from easy-menu-keymap.  Callers changed.
1994-05-22 06:50:01 +00:00
Richard M. Stallman
1eb0a345ce (autoload-trim-file-name): Make it relative
to the directory that loaddefs.el is in.
1994-05-12 18:54:57 +00:00