Fix XEmacs compatibility

This commit is contained in:
Carsten Dominik 2010-04-12 13:02:59 +02:00
parent 32340d0389
commit 436302c1a2
3 changed files with 7 additions and 5 deletions

View File

@ -353,10 +353,11 @@ this function dynamically."
(define-minor-mode org-beamer-mode
"Special support for editing Org-mode files made to export to beamer."
nil " Bm" nil)
(font-lock-add-keywords
'org-mode
'((":\\(B_[a-z]+\\|BMCOL\\):" 1 'org-beamer-tag prepend))
'prepent)
(when (fboundp 'font-lock-add-keywords)
(font-lock-add-keywords
'org-mode
'((":\\(B_[a-z]+\\|BMCOL\\):" 1 'org-beamer-tag prepend))
'prepent))
(defun org-beamer-place-default-actions-for-lists ()
"Find default overlay specifications in items, and move them.

View File

@ -81,6 +81,7 @@
(require 'xml)
(require 'org)
(require 'rx)
(require 'org-exp)
(eval-when-compile (require 'cl))

View File

@ -16297,7 +16297,7 @@ This command does many different things, depending on context:
(fboundp org-finish-function))
(funcall org-finish-function))
((run-hook-with-args-until-success 'org-ctrl-c-ctrl-c-hook))
((or (looking-at (org-re org-property-start-re))
((or (looking-at org-property-start-re)
(org-at-property-p))
(call-interactively 'org-property-action))
((org-on-target-p) (call-interactively 'org-update-radio-target-regexp))