Browse Source

ox: Fix small bug

* lisp/ox.el (org-export--get-inbuffer-options): Fix small bug
  introduced in 908d42c9b68257ed122073b29d7ada02b3d120fa.
Nicolas Goaziou 11 years ago
parent
commit
814755a2d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ox.el

+ 1 - 1
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