From 33a2c7ea682f3e443211969928b129d87e01758f Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 28 Jul 2013 21:40:02 +0200 Subject: [PATCH] ox: Fix compilation error with Emacs < 24 * lisp/ox.el (org-export-stack-mode-map): Fix compilation error with Emacs < 24. --- lisp/ox.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox.el b/lisp/ox.el index b8bbac2c1..fcf3ef7d6 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -5584,7 +5584,7 @@ within Emacs." ((bufferp source) (org-switch-to-buffer-other-window source)) (t (org-open-file source in-emacs))))) -(defconst org-export-stack-mode-map +(defvar org-export-stack-mode-map (let ((km (make-sparse-keymap))) (define-key km " " 'next-line) (define-key km "n" 'next-line)