add missing intra-project requires
(require 'package) ; backtrace package sources
(require 'backtrace)
+(require 'snitch-custom)
(require 'snitch-timer)
;; Since the backtrace functions might be called extremely often,
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;; Code:
+(require 'snitch-custom)
+(require 'snitch-filter)
;; optional dependency on alert package
(defvar snitch--have-alert (require 'alert nil t))
(require 'ert)
(require 'snitch)
(require 'use-package)
-
+(require 'snitch-custom)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;; Code:
+(require 'snitch-backtrace)
+(require 'snitch-custom)
(defvar snitch--timer-alist '()
"Cache of Emacs timers tracked by snitch.
Always calls the original function ORIG-FN is called with its
arguments ARGS unmodified."
(let* ((bt (snitch--backtrace))
- ;;(bt '()) ;;(snitch--backtrace))
(timer (nth 0 args))
(idle (nth 3 args))
(expire-time (snitch--timer-timeout timer))