From 814755a2d7cc90413abd4936180f7b38c159f563 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 22 Jul 2013 16:06:47 +0200 Subject: [PATCH] ox: Fix small bug * lisp/ox.el (org-export--get-inbuffer-options): Fix small bug introduced in 908d42c9b68257ed122073b29d7ada02b3d120fa. --- lisp/ox.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox.el b/lisp/ox.el index e1e79c8f7..9353f1d47 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -1664,7 +1664,7 @@ Assume buffer is in Org mode. Narrowing, if any, is ignored." (let (properties) (dolist (option options properties) (when (equal (nth 1 option) keyword) - (push (car option) properties)))))) + (pushnew (car option) properties)))))) (get-options (lambda (&optional files plist) ;; Recursively read keywords in buffer. FILES is a list