From 98644ad4a01f5400f8ae3538aa3debbf69727fbd Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Thu, 2 Nov 2006 08:41:57 +0000 Subject: [PATCH] (org-mode-map): No longer copy `outline-mode-map' explicitly - this is already done by `define-derived-mode'. --- lisp/textmodes/org.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el index caca6a6ae7d..8e0bccfb708 100644 --- a/lisp/textmodes/org.el +++ b/lisp/textmodes/org.el @@ -2897,11 +2897,8 @@ Also put tags into group 4 if tags are present.") ;;; Define the mode -(defvar org-mode-map - (if (and (not (keymapp outline-mode-map)) (featurep 'allout)) - (error "Conflict with outdated version of allout.el. Load org.el before allout.el, or ugrade to newer allout, for example by switching to Emacs 22.") - (copy-keymap outline-mode-map)) - "Keymap for 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 ugrade to newer allout, for example by switching to Emacs 22.")) (defvar org-struct-menu) ; defined later in this file (defvar org-org-menu) ; defined later in this file @@ -2913,6 +2910,7 @@ Also put tags into group 4 if tags are present.") "Indicates that a table might need an update. This variable is set by `org-before-change-function'. `org-table-align' sets it back to nil.") +(defvar org-mode-map) (defvar org-mode-hook nil) (defvar org-inhibit-startup nil) ; Dynamically-scoped param. (defvar org-agenda-keep-modes nil) ; Dynamically-scoped param. -- 2.39.2