File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 39
39
(defun +parinfer-rust--restore (&rest _)
40
40
(when +parinfer-rust--was-enabled-p
41
41
(setq +parinfer-rust--was-enabled-p nil )
42
- (parinfer-rust-mode 1 )))
42
+ (parinfer-rust-mode 1 )
43
+ (+info! " Restored `parinfer-rust-mode' " )))
43
44
44
45
(defun +parinfer-rust--disable (&rest _)
45
46
(setq +parinfer-rust--was-enabled-p (bound-and-true-p parinfer-rust-mode))
46
47
(when +parinfer-rust--was-enabled-p
47
- (parinfer-rust-mode -1 )))
48
+ (parinfer-rust-mode -1 )
49
+ (+info! " Disabled `parinfer-rust-mode' " )))
48
50
49
- ; ; Fix the issue of `vundo` (related to `track-changes` ) when exploring the undo tree
51
+ ; ; Fix the issue of `vundo' (related to `track-changes' ) when exploring the undo tree
50
52
(with-eval-after-load 'vundo
51
53
(add-hook 'vundo-pre-enter-hook #'+parinfer-rust--disable )
52
54
(add-hook 'vundo-post-exit-hook #'+parinfer-rust--restore )))
You can’t perform that action at this time.
0 commit comments