Don't call hook two times
define-derived-mode macro puts run-hook code after body so it is not necessary to call it manually.
This commit is contained in:
parent
940a1a7937
commit
fff8719b04
|
@ -344,10 +344,7 @@ Shortcuts Command Name
|
|||
(set (make-local-variable 'comment-end) "'/")
|
||||
(set (make-local-variable 'comment-multi-line) t)
|
||||
(set (make-local-variable 'comment-style) 'extra-line)
|
||||
(setq font-lock-defaults '((plantuml-font-lock-keywords) nil t))
|
||||
|
||||
; Run hooks:
|
||||
(run-mode-hooks 'plantuml-mode-hook))
|
||||
(setq font-lock-defaults '((plantuml-font-lock-keywords) nil t)))
|
||||
|
||||
(defun plantuml-deprecation-warning ()
|
||||
"Warns the user about the deprecation of the `puml-mode' project."
|
||||
|
|
Loading…
Reference in New Issue