summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/trace.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/trace.el')
-rw-r--r--lisp/emacs-lisp/trace.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/trace.el b/lisp/emacs-lisp/trace.el
index 40008e29a19..d066f7d82f3 100644
--- a/lisp/emacs-lisp/trace.el
+++ b/lisp/emacs-lisp/trace.el
@@ -164,9 +164,16 @@
(require 'advice)
+(defgroup trace nil
+ "Tracing facility for Emacs Lisp functions"
+ :prefix "trace-"
+ :group 'lisp)
+
;;;###autoload
-(defvar trace-buffer "*trace-output*"
- "*Trace output will by default go to that buffer.")
+(defcustom trace-buffer "*trace-output*"
+ "*Trace output will by default go to that buffer."
+ :type 'string
+ :group 'trace)
;; Current level of traced function invocation:
(defvar trace-level 0)