mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-25 07:27:57 +00:00
Another fix for broken commit abbea59611
* lisp/org.el: Move check for outline-mode-keymap after (require 'outline).
This commit is contained in:
parent
044b0ff7e8
commit
6347bf2f72
@ -4913,10 +4913,6 @@ This is for getting out of special buffers like remember.")
|
||||
|
||||
;;;; Define the Org-mode
|
||||
|
||||
(if (and (not (keymapp outline-mode-map)) (featurep 'allout))
|
||||
(error "Conflict with outdated version of allout.el. Load org.el before allout.el, or upgrade to newer allout, for example by switching to Emacs 22"))
|
||||
|
||||
|
||||
;; We use a before-change function to check if a table might need
|
||||
;; an update.
|
||||
(defvar org-table-may-need-update t
|
||||
@ -4938,7 +4934,10 @@ This variable is set by `org-before-change-function'.
|
||||
(defvar buffer-face-mode-face)
|
||||
|
||||
(require 'outline)
|
||||
(if (and (not (keymapp outline-mode-map)) (featurep 'allout))
|
||||
(error "Conflict with outdated version of allout.el. Load org.el before allout.el, or upgrade to newer allout, for example by switching to Emacs 22"))
|
||||
(require 'noutline "noutline" 'noerror) ;; stock XEmacs does not have it
|
||||
|
||||
;; Other stuff we need.
|
||||
(require 'time-date)
|
||||
(unless (fboundp 'time-subtract) (defalias 'time-subtract 'subtract-time))
|
||||
|
Loading…
Reference in New Issue
Block a user