diff options
| author | Thomas Schneider <qsx@chaotikum.eu> | 2024-08-26 16:50:11 +0200 |
|---|---|---|
| committer | Thomas Schneider <qsx@chaotikum.eu> | 2024-08-26 16:50:11 +0200 |
| commit | 5163fb49ce27c08d47aeec84de9d4e76612bb178 (patch) | |
| tree | 27f63d74190999f30662eccfee525b9b3db89e79 /dot.config-swaylock-config | |
| parent | 1964d2921019c3502289f06eaa964c9a14aa4f58 (diff) | |
Emacs: srefactor: Load after project.el
Brought to you by an afternoon of debugging.
Incantations used for debugging:
(semantic-mode 1)
;; (when (boundp 'project-find-functions)
;; (message "init project-find-functions: %s" project-find-functions))
;; (define-advice add-hook
;; (:around
;; (orig-fun &rest args)
;; debug)
;; (progn
;; (when (eq (nth 0 args) 'project-find-functions)
;; (backtrace))
;; (let ((res (apply orig-fun args)))
;; (when (eq (nth 0 args) 'project-find-functions)
;; (message "adv project-find-functions: %s" project-find-functions)
;; res))))
(use-package srefactor
:bind (:map c-mode-map
("M-RET" . #'srefactor-refactor-at-point)))
;; (advice-remove 'add-hook 'add-hook@debug)
;; (when (boundp 'project-find-functions)
;; (message "init late project-find-functions: %s" project-find-functions))
Diffstat (limited to 'dot.config-swaylock-config')
0 files changed, 0 insertions, 0 deletions
