1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00
Commit Graph

252 Commits

Author SHA1 Message Date
Richard M. Stallman
029b623a7e Initial revision 1994-03-25 07:38:29 +00:00
Daniel LaLiberte
1fe3d50701 New version from author. 1994-03-24 20:38:34 +00:00
Daniel LaLiberte
65c3c4ed1c Change "internal" to "original" throughout.
(add-custom-printer, delete-custom-printer) replace old customizers.
        (with-custom-print) new
        (custom-prin1-to-string) Made it more robust.
1994-03-24 20:26:05 +00:00
Daniel LaLiberte
7ed39e9d2b Initial revision 1994-03-23 22:11:16 +00:00
Richard M. Stallman
8782c06b52 (debugger-eval-expression): Use a history list. 1994-03-22 20:41:00 +00:00
Karl Heuer
a760522275 (make-lucid-menu-keymap): Any row of dashes means blank. 1994-03-21 00:37:56 +00:00
Richard M. Stallman
289c483676 Provide lmenu, not menubar. 1994-03-20 04:05:48 +00:00
Karl Heuer
81ccc37843 (beginning-of-defun-raw): Don't err when called at end of buffer. 1994-03-19 04:07:37 +00:00
Karl Heuer
afa995e19e (beginning-of-defun-raw): New function.
(end-of-defun): Handle defun-prompt-regexp correctly.
1994-03-18 02:21:52 +00:00
Karl Heuer
37f31acf87 (end-of-defun): Fix check for trailing comment. 1994-03-18 01:47:28 +00:00
Karl Heuer
7fe78b07bc (defun-prompt-regexp): Doc fix. 1994-03-15 23:36:48 +00:00
Richard M. Stallman
d7846e0891 (byte-compile-track-mouse): Undo previous change,
but use byte-compile-top-level-body.
1994-03-10 17:22:59 +00:00
Richard M. Stallman
ad9c7f2b76 (generate-file-autoloads): Don't ignore the line
after the form marked by a ;;;###autoload\n.
1994-03-10 04:18:10 +00:00
Richard M. Stallman
a1ed3ba654 (edebug-skip-whitespace): Only \n, not \r, ends a comment. 1994-03-06 21:05:30 +00:00
Richard M. Stallman
288f95bd03 (backquote-listify): Renamed from bq-listify.
(backquote-process): Renamed from bq-process.
(backquote-list*-function): Renamed from list*-function.
(backquote-list*-macro): Renamed from list*-macro.
(backquote-list*): Renamed from list*.
1994-03-06 19:43:23 +00:00
Richard M. Stallman
41ea659a7f Complete rewrite by Sladkey. 1994-03-06 19:39:10 +00:00
Richard M. Stallman
b3bbaa663d (byte-compile-track-mouse): Handle >1 body form.
Generate code that binds track-mouse.
1994-03-05 23:27:51 +00:00
Richard M. Stallman
8a5dd08600 (byte-compile-insert-header): Take a filename argument.
(byte-compile-from-buffer): Change second argument to filename.
Always return outbuffer; never eval from it or kill it.
(byte-compile-file): Pass filename to byte-compile-from-buffer.
1994-03-04 04:03:46 +00:00
Roland McGrath
52859db83c (generate-file-autoloads): Move misplaced paren in match clause of cond
so copying the rest of the line to the output is the else clause of if
(eolp), not after the if.
1994-03-03 22:13:45 +00:00
Richard M. Stallman
f643a89157 (byte-compile-from-buffer, byte-compile-top-level):
Removed advice. Byte-compilation problem is now taken care of
directly by the compiler.
(ad-advised-byte-compilers): Removed.
(ad-enable-definition-hooks, ad-disable-definition-hooks): Removed
activation of the advised byte-compiler entry points.
(ad-lemacs-p): Removed variable.
(ad-lemacs-p): New macro for compile-time conditionalization.
1994-02-25 00:57:37 +00:00
Richard M. Stallman
d9e42bcf36 (byte-compile-protect-from-advice): New macro that
temporarily deactivates advice of `defun/defmacro' while BODY is run.
(byte-compile-from-buffer, byte-compile-top-level): Use
`byte-compile-protect-from-advice' to protect compilation.
1994-02-25 00:54:15 +00:00
Richard M. Stallman
5847f86195 (lisp-mode-variables): Set outline-regexp. 1994-02-24 22:36:24 +00:00
Richard M. Stallman
2512acba30 (debug, debug-on-entry): Doc strings. 1994-02-23 23:17:34 +00:00
Karl Heuer
a2bb8f73f2 (byte-compile-file): Return nil on failure. 1994-02-23 19:17:57 +00:00
Richard M. Stallman
6e2f6f4518 Removed all support for Emacs-18:
Removed autoload for `backquote'.
Removed arglist specifications for `documentation' and `fset'.
(ad-emacs19-p, ad-use-jwz-compiler): Removed these variables.
(ad-lemacs-p, ad-v19-compiled-p, ad-subr-arglist,
ad-make-advised-docstring): Removed reference to `ad-emacs19-p'.
(ad-compiled-p): Renamed from `ad-v19-compiled-p'.  Removed old
definition of `ad-compiled-p'.
(ad-compiled-code): Renamed from `ad-v19-compiled-code'.
(ad-arglists, ad-docstring, ad-interactive-form): Use new names.
(ad-body-forms): Always return nil for compiled definitions.
(ad-compile-function): Simplified, because the v19 incarnation of
`byte-compile' can compile macros.
(ad-real-byte-codify): Removed.
(ad-execute-defadvices): Removed. The `defadvice's it contained
are now at the top level.
(ad-advised-byte-code-definition): Renamed to `ad-advised-byte-code'
and removed the definition of `ad-advised-byte-code' via `fset'.
(ad-advised-byte-code-definition, ad-recover-byte-code,
ad-stop-advice, ad-recover-normality): Removed
`ad-real-byte-codify'-cation of their definitions.
(ad-adjust-stack-sizes): Removed.
(ad-enable-definition-hooks, ad-disable-definition-hooks):
Removed v19 conditionalization.

Fixed the problematic interaction between the
byte-compiler and Advice when `ad-activate-on-definition' was t which
resulted in erroneous compilation of nested `defun/defmacro's:
(byte-compile-from-buffer, byte-compile-top-level): Advised
to temporarily deactivate the advice of `defun/defmacro'.
(ad-advised-definers, ad-advised-byte-compilers): New variables.
(ad-enable-definition-hooks, ad-disable-definition-hooks):
En/disable the advised byte-compiler entry points.

(defadvice): Implement a `freeze' option which expands
the `defadvice' into a redefining and dumpable `defun/defmacro'
whose documentation can be written to the `DOC' file. Frozen
advices cannot be undone, hence, they do not need any Advice
runtime support.
(ad-defadvice-flags): Add `freeze' flag.
(ad-make-advised-docstring, ad-make-single-advice-docstring):
New STYLE option for `plain' and `freeze' styles. Slightly
changed the default formatting of advised docstrings.
(ad-make-plain-docstring, ad-make-freeze-docstring): New functions.

(ad-recover-all, ad-scan-byte-code-for-fsets):
Removed unused condition variable `ignore-errors'.

(ad-save-real-definition): New macro to save real
definitions of functions used by Advice.
Use `ad-save-real-definition' to save definitions of `fset',
`byte-code' and now also `documentation'.
(ad-subr-arglist, ad-docstring, ad-make-advised-docstring):
Use `ad-real-documentation' to avoid interference with the
advised version of `documentation'.

(ad-execute-defadvices): Copy advice infos.

(ad-start-advice-on-load): Default changed to t.
1994-02-23 03:57:07 +00:00
Richard M. Stallman
2eb9adabed (lisp-complete-symbol): Doc fix. 1994-02-18 23:51:41 +00:00
Richard M. Stallman
b041301359 Delete the code to enable menu bars. 1994-02-17 22:01:45 +00:00
Richard M. Stallman
5f65078a26 (defun-prompt-regexp): Now a user variable. 1994-02-17 21:06:52 +00:00
Roland McGrath
9ed4d64fd3 (generate-file-autoloads): Don't frob literal formfeeds into \f; just bind
print-escape-newlines to t around printing (now has same effect).
1994-02-08 23:03:09 +00:00
Karl Heuer
e15068c4db (batch-update-autoloads): Add missing close paren. 1994-02-08 04:53:09 +00:00
Karl Heuer
d5bfe0767b (insert-parentheses): Doc mod. 1994-02-07 22:57:35 +00:00
Roland McGrath
72c19d97c1 (autoload-trim-file-name): New function.
(generate-file-autoloads): Bind print-readably to t for Lucid.
Use autoload-trim-file-name on FILE when inserting the name.
Scan written text and fix up ^L to \f and ( at bol to \(.
(update-file-autoloads): When we find a later file's section, set FOUND to
'new.  If FOUND is 'new after loop, check file for autoload cookies and
don't call generate-file-autoloads if none.
(update-directory-autoloads): Get absolute file names from directory-files.
(batch-update-autoloads): Rewrite from jwz to process later files in a
directory after one file errs.
1994-02-07 22:19:05 +00:00
Roland McGrath
d55e3ff0cc (update-file-autoloads): Never ask the user where to put a new section.
While searching the file, look for an alphabetically later file's section,
and insert the new section before it.
1994-02-07 05:08:36 +00:00
Richard M. Stallman
184c749355 Comment changes and doc fixes.
The C program in the comments was moved into ../lib-src/profile.c.
1994-02-05 05:05:39 +00:00
Karl Heuer
835cd48e6a (ad-execute-defadvices): Don't allocate advice-infos in pure space, in case we
want to preload this file.
1994-02-02 21:35:07 +00:00
Roland McGrath
a1d528953c (update-copyright): Wrap final copyright-matching regexp in parens, so \1
gets all the year tokens, not just the last.  (The old regexp won with
the pre-POSIX defn of subexpressions with +.)
1994-01-16 04:35:38 +00:00
Richard M. Stallman
b2ecc630a3 (debug): Bind unread-command-char to -1, not nil. 1994-01-14 18:19:13 +00:00
Richard M. Stallman
2abcddce3b (byte-compile-condition-case): Disable warning about
symbol not naming a condition.  Allow a list of condition names.
1994-01-11 07:21:47 +00:00
Roland McGrath
1476977314 (debug): Fixed typo. 1994-01-09 23:22:30 +00:00
Richard M. Stallman
35cf010db6 (debug): Bind a bunch of vars, like last-command, to
neutral values.  Save the outer values in debugger-last-command, etc.
Put those saved values back into effect when returning.
(debugger-eval-expression): Put the saved values into effect
while evaluating, and store modified values back into
debugger-outer-... after evaluating.
1994-01-09 23:11:56 +00:00
Richard M. Stallman
b69f3ab1c8 (make-lucid-menu-keymap): Allow multiple identical inactive strings. 1994-01-07 05:37:31 +00:00
Richard M. Stallman
ac8a83413f (make-lucid-menu-keymap): For "----", make blank line. 1994-01-06 04:59:17 +00:00
Richard M. Stallman
e3c72369df [ms-dos] (byte-compile-file): Save as binary. 1994-01-06 04:31:20 +00:00
Richard M. Stallman
d06752db2d (popup-menu): Add loop to handle submenus. 1994-01-04 23:30:37 +00:00
Richard M. Stallman
3785d1c8a8 Comment fix. 1994-01-04 01:41:34 +00:00
Richard M. Stallman
fd752f985a (debug): Bind this-command and last-command. 1994-01-04 01:39:46 +00:00
Richard M. Stallman
1c222bca8f (eval-current-buffer): Old definition deleted.
(eval-buffer): Use current buffer by default.
1993-12-31 12:42:06 +00:00
Richard M. Stallman
3082623d01 (lm-report-bug): lm-maintainer returns a cons; convert it to a string. 1993-12-26 08:02:10 +00:00
Richard M. Stallman
ef92f83b81 (lm-report-bug): Don't crash if version is nil. 1993-12-26 07:56:21 +00:00
Richard M. Stallman
200503bb06 Provide bytecomp as well as byte-compile. 1993-12-25 00:32:37 +00:00