Browse Source

ox-html: Silence byte-compiler

* lisp/ox-html.el (org-html--build-meta-info): Use `org-remove-if-not'
  instead of `remove-if-not'.
Nicolas Goaziou 10 years ago
parent
commit
b6ccee763f
1 changed files with 5 additions and 5 deletions
  1. 5 5
      lisp/ox-html.el

+ 5 - 5
lisp/ox-html.el

@@ -1697,9 +1697,9 @@ INFO is a plist used as a communication channel."
      (format "<title>%s</title>\n" title)
      (when (plist-get info :time-stamp-file)
        (format-time-string
-	 (concat "<!-- "
-		 (plist-get info :html-metadata-timestamp-format)
-		 " -->\n")))
+	(concat "<!-- "
+		(plist-get info :html-metadata-timestamp-format)
+		" -->\n")))
      (format
       (if (org-html-html5-p info)
 	  (org-html-close-tag "meta" " charset=\"%s\"" info)
@@ -1731,8 +1731,8 @@ INFO is a plist used as a communication channel."
 			       info)
 	   "\n"))
      (let ((viewport-options
-	    (remove-if-not (lambda (cell) (org-string-nw-p (cadr cell)))
-			   (plist-get info :html-viewport))))
+	    (org-remove-if-not (lambda (cell) (org-string-nw-p (cadr cell)))
+			       (plist-get info :html-viewport))))
        (and viewport-options
 	    (concat
 	     (org-html-close-tag