Hello, Jarmo Hurri <jarmo.hu...@iki.fi> writes:
> Debugger entered--Lisp error: (wrong-number-of-arguments max 0) > max() > apply(max nil) > org-fast-tag-selection(nil nil nil nil) > org-set-tags() > org-beamer-select-environment() > call-interactively(org-beamer-select-environment nil nil) > command-execute(org-beamer-select-environment) Would the following patch solve the issue? Regards, -- Nicolas Goaziou
>From 39cbbca8b6599d4701c243b0eb016b1c7793abba Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou <m...@nicolasgoaziou.fr> Date: Thu, 28 Apr 2016 23:29:17 +0200 Subject: [PATCH] ox-beamer: Fix "apply: Wrong number of arguments: max, 0" * lisp/ox-beamer.el (org-beamer-select-environment): Use variable introduced in 4743d43. Reported-by: Jarmo Hurri <jarmo.hu...@iki.fi> <http://permalink.gmane.org/gmane.emacs.orgmode/106705> --- lisp/ox-beamer.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-beamer.el b/lisp/ox-beamer.el index 4790d5f..65304f4 100644 --- a/lisp/ox-beamer.el +++ b/lisp/ox-beamer.el @@ -1107,7 +1107,7 @@ aid, but the tag does not have any semantic meaning." (let* ((envs (append org-beamer-environments-special org-beamer-environments-extra org-beamer-environments-default)) - (org-tag-alist + (org-current-tag-alist (append '((:startgroup)) (mapcar (lambda (e) (cons (concat "B_" (car e)) (string-to-char (nth 1 e)))) -- 2.7.4