aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorNoam Postavsky2016-07-17 00:21:42 -0400
committerNoam Postavsky2016-07-28 20:02:42 -0400
commit272391f1d63eae0c1002d62fa5e5b1d63a0da767 (patch)
treeb70fcdc992dbba9ae354297fc71bc9c3325ed2da /lisp
parent442cc39e138a3cc9e281fb09e179370f65d81ba2 (diff)
downloademacs-272391f1d63eae0c1002d62fa5e5b1d63a0da767.tar.gz
emacs-272391f1d63eae0c1002d62fa5e5b1d63a0da767.zip
profiler: document prefix arg for tree expansion
* doc/lispref/debugging.texi (Profiling): * lisp/profiler.el (profiler-report-toggle-entry): Document use of prefix argument to expand whole call trees.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/profiler.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/profiler.el b/lisp/profiler.el
index 401cae537e6..3bee3c561a7 100644
--- a/lisp/profiler.el
+++ b/lisp/profiler.el
@@ -692,7 +692,8 @@ With a prefix argument, expand the whole subtree."
692 692
693(defun profiler-report-toggle-entry (&optional arg) 693(defun profiler-report-toggle-entry (&optional arg)
694 "Expand entry at point if the tree is collapsed, 694 "Expand entry at point if the tree is collapsed,
695otherwise collapse." 695otherwise collapse. With prefix argument, expand all subentries
696below entry at point."
696 (interactive "P") 697 (interactive "P")
697 (or (profiler-report-expand-entry arg) 698 (or (profiler-report-expand-entry arg)
698 (profiler-report-collapse-entry))) 699 (profiler-report-collapse-entry)))