* lisp/emacs-lisp/track-changes.el (track-changes--backtrace): Fix prefix
This commit is contained in:
parent
4690f2f44d
commit
f994154d08
1 changed files with 4 additions and 4 deletions
|
@ -395,7 +395,7 @@ returned to a consistent state."
|
|||
|
||||
;;;; Auxiliary functions.
|
||||
|
||||
(defun track-change--backtrace (n &optional base)
|
||||
(defun track-changes--backtrace (n &optional base)
|
||||
(let ((frames nil))
|
||||
(catch 'done
|
||||
(mapbacktrace (lambda (&rest frame)
|
||||
|
@ -403,7 +403,7 @@ returned to a consistent state."
|
|||
(push frame frames)
|
||||
(push '... frames)
|
||||
(throw 'done nil)))
|
||||
(or base #'track-change--backtrace)))
|
||||
(or base #'track-changes--backtrace)))
|
||||
(nreverse frames)))
|
||||
|
||||
(defun track-changes--trace ()
|
||||
|
@ -415,7 +415,7 @@ returned to a consistent state."
|
|||
(setq track-changes--trace (make-ring 10)))
|
||||
(ring-insert track-changes--trace
|
||||
(cons (buffer-name)
|
||||
(track-change--backtrace
|
||||
(track-changes--backtrace
|
||||
10 #'track-changes--trace)))))
|
||||
|
||||
(defun track-changes--clean-state ()
|
||||
|
@ -487,7 +487,7 @@ backtraces have the deepest frame first.")
|
|||
(warn "Missing/incorrect calls to `before/after-change-functions'!!
|
||||
Details logged to `track-changes--error-log'")
|
||||
(push (vector (buffer-name) info
|
||||
(track-change--backtrace
|
||||
(track-changes--backtrace
|
||||
50 #'track-changes--recover-from-error)
|
||||
(let ((rk (recent-keys 'include-cmds)))
|
||||
(if (< (length rk) 20) rk (substring rk -20)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue