Explorar o código

ox: Fix small bug

* lisp/ox.el (org-export--get-inbuffer-options): Fix small bug
  introduced in 908d42c9b68257ed122073b29d7ada02b3d120fa.
Nicolas Goaziou %!s(int64=12) %!d(string=hai) anos
pai
achega
814755a2d7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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