Commit graph

357 commits

Author SHA1 Message Date
Richard M. Stallman
6f57a741f9 (add-menu-item-1): Better error message if
a menu not the last in the path does not exist.
1995-03-11 03:55:14 +00:00
Richard M. Stallman
a096f13fc6 (byte-compile-file): Bind default-major-mode to avoid randomness. 1995-02-25 23:27:09 +00:00
Richard M. Stallman
e5cd8a87da (pp-to-string): Fix previous change. 1995-02-13 18:05:23 +00:00
Richard M. Stallman
2eeeb0d2a0 (debugger-step-after-exit): Variable declared.
(debugger-old-buffer, debugger-value): Variables declared.
1995-02-13 17:55:17 +00:00
Richard M. Stallman
f4249c6f78 (debug): Fix arg to backtrace-debug for debug-on-entry. 1995-02-13 08:47:59 +00:00
Richard M. Stallman
9796f12dfd (pp-to-string): Don't use emacs-lisp-mode.
Just do the parts of it we actually want.
1995-02-13 03:01:16 +00:00
Karl Heuer
92beedc25e (byte-compile-file): Add "done" message. 1995-02-08 04:19:50 +00:00
Karl Heuer
47cf9d3a96 (byte-compile-file-form-defmumble, display-call-tree): Print ellipsis earlier,
so message logging will fold similar strings.
1995-02-08 00:43:45 +00:00
Richard M. Stallman
2b4483bbdc (lisp-fill-paragraph): Return t. 1995-02-02 09:44:38 +00:00
Richard M. Stallman
35d132a834 (shared-lisp-mode-map): Don't bind M-q.
(lisp-mode-variables): Put it in fill-paragraph-function locally.
1995-02-02 09:40:06 +00:00
Richard M. Stallman
51566783f0 (make-extent, delete-extent, set-extent-property)
(set-extent-face): New functions.
1995-01-30 07:16:14 +00:00
Richard M. Stallman
33f268ecd1 (lisp-indent-region): Set endmark before indenting first line.
(indent-sexp): Fixes for ENDPOS != nil case--use nil
as starting-point, and don't insist on a complete sexp.
1995-01-30 02:16:26 +00:00
Richard M. Stallman
3b787dc333 (read-number): New function. 1995-01-30 00:34:44 +00:00
Richard M. Stallman
c8c76dd33f (debug-convert-byte-code): Convert the doc info to a string. 1995-01-27 22:38:19 +00:00
Richard M. Stallman
3e6eef9525 (byte-compile-defvar): Add the var to current-load-list. 1995-01-22 00:52:51 +00:00
Roland McGrath
3e64e15047 (update-copyright): Remove gratuitous error at end. 1995-01-21 13:59:06 +00:00
Karl Heuer
f545df9c63 (easy-menu-define): Doc fix. 1995-01-13 00:35:28 +00:00
Karl Heuer
5023d9a008 Fix text punctuation. 1995-01-09 23:10:10 +00:00
Noah Friedman
ccba0a208c Add autoload cookies. 1995-01-03 23:44:44 +00:00
Richard M. Stallman
b96bffd7a0 Comment changes. 1994-12-29 00:11:46 +00:00
Richard M. Stallman
5b689f602f Comment changes. 1994-12-26 15:49:29 +00:00
Richard M. Stallman
9290191f09 (byte-compile-warning-types): Add obsolete.
(byte-compile-warnings): Doc fix.
(byte-compile-obsolete): Check for obsolete in byte-compile-warnings.
(byte-compile-variable-ref): Likewise.
1994-12-26 01:28:59 +00:00
Richard M. Stallman
d82e848c34 (byte-compile-dest-file): New variable.
(byte-compile-file): Bind that var, early on.
(byte-compile-dynamic): New variable.
(byte-compile-dynamic-docstrings): New variable.
(byte-compile-close-variables): Bind byte-compile-dynamic,
byte-compile-dynamic-docstrings, and byte-compiler-compatibility.
(byte-compile-file): Call normal-mode, not set-auto-mode.
(byte-compile-output-docform): New arguments PREFACE, NAME, SPECINDEX,
QUOTED.  Callers changed.  Output doc strings as references to the .elc
file itself, using #@ and #$ constructs.
(byte-compile-output-as-comment): New function.

(byte-compile-insert-header): Don't save-excursion.
Insert at point, and move point.  Insert extra newline at end.
(byte-compile-from-buffer): Insert the header before compilation.
1994-12-24 05:58:05 +00:00
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