Browse Source

org-wikinodes: Update to Org 8 export process

Nicolas Goaziou 8 years ago
parent
commit
ba66f05e57
1 changed files with 2 additions and 2 deletions
  1. 2 2
      contrib/lisp/org-wikinodes.el

+ 2 - 2
contrib/lisp/org-wikinodes.el

@@ -305,11 +305,11 @@ with working links."
 (add-hook 'org-ctrl-c-ctrl-c-hook 'org-wikinodes-clear-cache-when-on-target)
 
 ;; Make Wiki haeding create additional link names for headlines
-(add-hook 'org-export-define-heading-targets-headline-hook
+(add-hook 'org-export-before-parsing-hook
 	  'org-wikinodes-set-wiki-targets-during-export)
 
 ;; Turn Wiki links into links the exporter will treat correctly
-(add-hook 'org-export-preprocess-after-radio-targets-hook
+(add-hook 'org-export-before-parsing-hook
 	  'org-wikinodes-process-links-for-export)
 
 ;; Activate CamelCase words as part of Org mode font lock