diff options
author | Bastien Guerry <bzg@altern.org> | 2012-01-10 21:19:44 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-01-10 21:19:44 +0100 |
commit | d6e40fb3472761ed51795f54491b969976167116 (patch) | |
tree | 1f737abe21584b2ec3d97e1cf721a9a48a82b82b | |
parent | d2b3db915ad951e9f491d12caecc8b3f46341164 (diff) | |
download | org-mode-d6e40fb3472761ed51795f54491b969976167116.tar.gz |
Create an alias for `list-diary-entries-hook'.
* org-agenda.el: New alias for `list-diary-entries-hook'.
* org.el (org-babel-load-languages): Use "LaTeX".
-rw-r--r-- | lisp/org-agenda.el | 2 | ||||
-rw-r--r-- | lisp/org.el | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index bdf6881..28f5429 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -4378,6 +4378,8 @@ of what a project is and how to check if it stuck, customize the variable (defvar org-disable-agenda-to-diary nil) ;Dynamically-scoped param. (defvar diary-list-entries-hook) +(if (fboundp 'defvaralias) + (defvaralias 'diary-list-entries-hook 'list-diary-entries-hook)) (defvar diary-time-regexp) (defun org-get-entries-from-diary (date) "Get the (Emacs Calendar) diary entries for DATE." diff --git a/lisp/org.el b/lisp/org.el index 542de8c..4251a07 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -170,7 +170,7 @@ requirements) is loaded." (const :tag "Haskell" haskell) (const :tag "Java" java) (const :tag "Javascript" js) - (const :tag "Latex" latex) + (const :tag "LaTeX" latex) (const :tag "Ledger" ledger) (const :tag "Lilypond" lilypond) (const :tag "Maxima" maxima) |