Add new packages installed

This commit is contained in:
Mateus Pinto Rodrigues
2018-03-27 20:52:59 -03:00
parent e684741609
commit 2362e805bd
1493 changed files with 172412 additions and 4636 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)