Skip to content

Commit

Permalink
chore: make note regarding the fix self-insert
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Dec 24, 2023
1 parent d2c5d8c commit 1bed2a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vs-comment-return.el
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@
"Execution after command's execution."
;; De-register ourselves!
(remove-hook 'post-command-hook #'vs-comment-return--post-command t)
;; XXX: Don't know why `cmake-mode' doesn't run `post-self-insert-hook'
;; on its own; handle it!
(when (memq #'vs-comment-return--post-self-insert post-self-insert-hook)
(run-hooks 'post-self-insert-hook))
;; Cancel action!
Expand Down

0 comments on commit 1bed2a3

Please sign in to comment.