Initial commit

This commit is contained in:
Mateus Pinto Rodrigues
2017-11-11 15:15:10 -02:00
commit 58c3bd6728
1202 changed files with 434097 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
(load-file "lua-mode.el")
(defmacro add-trace-for (fn)
(let ((trace-fn-name (intern (concat "trace--" (symbol-name fn)))))
`(progn
(defun ,trace-fn-name (&rest args)
(message "%s was called with: %S" #',fn args))
(add-function :before (symbol-function #',fn) #',trace-fn-name))))
;; (add-trace-for font-lock-fontify-region)
;; (add-trace-for font-lock-unfontify-region)
;; (add-trace-for lua--propertize-multiline-bounds)