summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoorul Islam <noorul@noorul.com>2010-07-31 15:37:16 +0000
committerBastien Guerry <bzg@altern.org>2010-07-31 12:48:15 +0200
commit4cd9e71019b707da5b319123bbbc3c5cebb10bf0 (patch)
treee987a40791ed6b9d3f14780ff66bf8f10a7dfe85
parente555514feb1a03b38c5f60e0c7231461dfe8150c (diff)
downloadorg-mode-4cd9e71019b707da5b319123bbbc3c5cebb10bf0.tar.gz
Bug in org-colview/org-beamer?
On Sat, Jul 31, 2010 at 12:54 PM, Simon Guest <simon.guest@tesujimath.org>wrote: > Hi, > > I'm making my first real Org mode Beamer presentation, using org-mode > 7.01g, and trying to set the ignore_heading for a multi-column slide. > > In column mode, when I hit 'e' in the Env column, Emacs says: > Wrong type argument: commandp, org-beamer-set-environment-tag > (and org-beamer-set-environment-tag does not appear to be defined > anywhere). > > It's triggered from this code in org-colview.el > ((equal key "BEAMER_env") > (setq eval '(org-with-point-at pom > (call-interactively 'org-beamer-set-environment-tag)))) > > Any idea what's wrong? > > This function was renamed to org-beamer-select-environment and I think it was not changed here. The attached patch should solve the problem. * lisp/org-colview.el Use org-beamer-select-environment instead of org-beamer-set-environment-tag Thanks and Regards Noorul
-rw-r--r--lisp/org-colview.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-colview.el b/lisp/org-colview.el
index 8c0ade2..dc0ab04 100644
--- a/lisp/org-colview.el
+++ b/lisp/org-colview.el
@@ -468,7 +468,7 @@ Where possible, use the standard interface for changing this line."
(call-interactively 'org-schedule))))
((equal key "BEAMER_env")
(setq eval '(org-with-point-at pom
- (call-interactively 'org-beamer-set-environment-tag))))
+ (call-interactively 'org-beamer-select-environment))))
(t
(setq allowed (org-property-get-allowed-values pom key 'table))
(if allowed