[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 36/36: elisp: boot: Replace removed FRAME-PROCEDURE with
From: |
Christopher Allan Webber |
Subject: |
[Guile-commits] 36/36: elisp: boot: Replace removed FRAME-PROCEDURE with FRAME-PROCEDURE-NAME. |
Date: |
Tue, 19 Oct 2021 17:59:44 -0400 (EDT) |
cwebber pushed a commit to branch wip-elisp-rebased
in repository guile.
commit 27adf0806137a7d2a82eb04dc498d772115f1708
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 19 00:16:10 2020 +0200
elisp: boot: Replace removed FRAME-PROCEDURE with FRAME-PROCEDURE-NAME.
This is a follow-up to commit e139accb530c970c989b3d53d5a8a22fd75437fc.
* module/language/elisp/boot.el (backtrace-frame, guile-backtrace): Use
FRAME-PROCEDURE-NAME instead of FRAME-PROCEDURE.
(cherry picked from commit 3d7db7c2175d91629d4133ae0b79f3c9c2ce6191)
---
module/language/elisp/boot.el | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/module/language/elisp/boot.el b/module/language/elisp/boot.el
index c0cfb03..70af251 100644
--- a/module/language/elisp/boot.el
+++ b/module/language/elisp/boot.el
@@ -760,10 +760,7 @@
(defun backtrace-frame (nframes)
(let* ((stack (funcall (@ (guile) make-stack) t))
(frame (stack-ref stack nframes))
- (proc (funcall (@ (guile) frame-procedure) frame))
- (pname (or (and (%functionp proc)
- (funcall (@ (guile) procedure-name) proc))
- proc))
+ (pname (funcall (@ (guile) frame-procedure-name) frame))
(args (funcall (@ (guile) frame-arguments) frame)))
(cons t (cons pname args))))
@@ -774,10 +771,7 @@
(space (funcall (@ (guile) integer->char) 32)))
(while frame
(princ (string 32 32))
- (let ((proc (funcall (@ (guile) frame-procedure) frame)))
- (prin1 (or (and (%functionp proc)
- (funcall (@ (guile) procedure-name) proc))
- proc)))
+ (prin1 (funcall (@ (guile) frame-procedure-name) frame))
(prin1 (funcall (@ (guile) frame-arguments) frame))
(terpri)
(setq frame (funcall (@ (guile) frame-previous) frame)))
- [Guile-commits] 11/36: defvar affects default value, (continued)
- [Guile-commits] 11/36: defvar affects default value, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 27/36: execute top level require forms, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 16/36: compile-elisp fn, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 20/36: defsubst, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 24/36: degenerate let forms, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 17/36: elisp @@ macro, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 15/36: fix symbol-function, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 29/36: use guile eval for elisp tree-il, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 31/36: use standard evaluator, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 32/36: update cross-compilation test, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 36/36: elisp: boot: Replace removed FRAME-PROCEDURE with FRAME-PROCEDURE-NAME.,
Christopher Allan Webber <=
- [Guile-commits] 19/36: compiler macros, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 21/36: use defsubst, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 28/36: deprecated eval-when situations, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 30/36: guile-backtrace function, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 25/36: only evaluate top-level macro definitions, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 33/36: ignore 'expect-fail' forms in elisp tests, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 34/36: temporarily disable elisp exception tests, Christopher Allan Webber, 2021/10/19
- [Guile-commits] 35/36: loader: Handle interned constants as well as plain bytevectors., Christopher Allan Webber, 2021/10/19