Browse Source

*** empty log message ***

Bastien Guerry 12 years ago
parent
commit
cbfa300639
1 changed files with 5 additions and 3 deletions
  1. 5 3
      org-hooks.org

+ 5 - 3
org-hooks.org

@@ -32,8 +32,10 @@ other hooks are also welcome.
 
 If  you want to display dormant article when following Gnus articles:
 
-:(add-hook 'org-follow-link-hook 
-:	  (lambda () (if (eq major-mode 'gnus-summary-mode)
-:			 (gnus-summary-insert-dormant-articles))))
+#+BEGIN_SRC emacs-lisp
+(add-hook 'org-follow-link-hook 
+	  (lambda () (if (eq major-mode 'gnus-summary-mode)
+			 (gnus-summary-insert-dormant-articles))))
+#+END_SRC
 
 # org-add-hook?