Browse Source

Remove unnecessary eval-after-load around the call to abbrev-table-put

Carsten Dominik 15 years ago
parent
commit
3081be6dd7
1 changed files with 3 additions and 4 deletions
  1. 3 4
      lisp/org.el

+ 3 - 4
lisp/org.el

@@ -4141,10 +4141,9 @@ The following commands are available:
       (org-indent-mode 1))
     (org-set-startup-visibility)))
 
-(eval-after-load "abbrev"
-  '(when (fboundp 'abbrev-table-put)
-     (abbrev-table-put org-mode-abbrev-table
-		       :parents (list text-mode-abbrev-table))))
+(when (fboundp 'abbrev-table-put)
+  (abbrev-table-put org-mode-abbrev-table
+		    :parents (list text-mode-abbrev-table)))
 
 (put 'org-mode 'flyspell-mode-predicate 'org-mode-flyspell-verify)