summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-01-26 12:40:26 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-01-26 12:40:26 (GMT)
commit714b3722784364f34dbb9a8b28039938806726aa (patch)
tree28b466abd2a2b61e61f589e65ef7334853f2c4e2
parent733a6fe0634f6be3157be4183f22317885337143 (diff)
parentb425e2a2d6277d59749dcd7ce04336092eeaaeae (diff)
downloadorg-mode-714b3722784364f34dbb9a8b28039938806726aa.zip
org-mode-714b3722784364f34dbb9a8b28039938806726aa.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/org-footnote.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el
index 269ea8e..4cde24b 100644
--- a/lisp/org-footnote.el
+++ b/lisp/org-footnote.el
@@ -486,7 +486,8 @@ or new, let the user edit the definition of the footnote."
(defun org-footnote-create-definition (label)
"Start the definition of a footnote with label LABEL."
(interactive "sLabel: ")
- (let ((label (org-footnote-normalize-label label)))
+ (let ((label (org-footnote-normalize-label label))
+ electric-indent-mode) ;; Prevent wrong indentation
(cond
;; In an Org file.
((derived-mode-p 'org-mode)