Work with abbrev tables only if abbrev.el is loaded

This commit is contained in:
Carsten Dominik 2009-10-29 15:21:48 +01:00
parent 655c5eaeee
commit fbe1b2ccf7
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2009-10-29 Carsten Dominik <carsten.dominik@gmail.com>
* org.el ("abbrev"): Work with abbrev tables only after they have
been loaded.
* org-list.el (org-list-send-list): Fix bug related to match
data.

View File

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