[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-30 d6726e6dfc7: Further fix of reading and writing profiler data
From: |
Eli Zaretskii |
Subject: |
emacs-30 d6726e6dfc7: Further fix of reading and writing profiler data |
Date: |
Sat, 17 Aug 2024 13:48:49 -0400 (EDT) |
branch: emacs-30
commit d6726e6dfc7f0a5133a0489bcdc21f10844692f2
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Eli Zaretskii <eliz@gnu.org>
Further fix of reading and writing profiler data
* lisp/profiler.el (profiler-report-make-entry-part): Print
strings as-is. (Bug#72559)
---
lisp/profiler.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lisp/profiler.el b/lisp/profiler.el
index a5d62e20e3a..34e4d7032df 100644
--- a/lisp/profiler.el
+++ b/lisp/profiler.el
@@ -452,6 +452,11 @@ Do not touch this variable directly.")
(let ((string (cond
((eq entry t)
"Others")
+ ;; When we save profile data into a file, the function
+ ;; objects are replaced with their "names". When we see
+ ;; a string here, that's presumably why, so just print
+ ;; it as-is.
+ ((stringp entry) entry)
(t (propertize (help-fns-function-name entry)
;; Override the `button-map' which
;; otherwise adds RET, mouse-1, and TAB
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-30 d6726e6dfc7: Further fix of reading and writing profiler data,
Eli Zaretskii <=