Skip to content

Commit 916909b

Browse files
committed
Avoid running c-mode-hook.
1 parent 47f15b2 commit 916909b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

solidity-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@ Cursor must be at the function's name. Does not currently work for constructors
541541
(set (make-local-variable 'comment-multi-line) t)
542542
(set (make-local-variable 'comment-line-break-function)
543543
'c-indent-new-comment-line)
544+
(set (make-local-variable 'c-mode-hook) nil)
544545

545546
;; set imenu
546547
(setq imenu-generic-expression

0 commit comments

Comments
 (0)