branch: elpa/adoc-mode commit 168ffa3f8efc3a635cc8f9422b7117a3a99af804 Author: sensorflo <sensor...@gmail.com> Commit: sensorflo <sensor...@gmail.com>
bugfix: no longer running adoc-mode-hook twice --- adoc-mode.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/adoc-mode.el b/adoc-mode.el index 8afa8cc231..f824b6f0b5 100644 --- a/adoc-mode.el +++ b/adoc-mode.el @@ -466,9 +466,6 @@ To become a customizable variable when regexps for list items become customizabl ("citetitle" . markup-secondary-text-face)) "An alist, key=attribute id, value=face.") -(defvar adoc-mode-hook nil - "Normal hook run when entering Adoc Text mode.") - (defvar adoc-mode-abbrev-table nil "Abbrev table in use in adoc-mode buffers.") @@ -2924,8 +2921,7 @@ Turning on Adoc mode runs the normal hook `adoc-mode-hook'." (make-local-variable 'compilation-error-regexp-alist) (add-to-list 'compilation-error-regexp-alist 'asciidoc)) - (easy-menu-add adoc-mode-menu) - (run-hooks 'adoc-mode-hook)) + (easy-menu-add adoc-mode-menu)) ;;;; non-definitions evaluated during load