Browse Source

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".
Bastien Guerry 13 years ago
parent
commit
d6e40fb347
2 changed files with 3 additions and 1 deletions
  1. 2 0
      lisp/org-agenda.el
  2. 1 1
      lisp/org.el

+ 2 - 0
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."

+ 1 - 1
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)