Browse Source

Compatibility: Use org-no-warnings

* contrib/lisp/org-e-odt.el (org-e-odt-htmlfontify-string): Use
  compatibility alias `org-no-warnings´.
Achim Gratz 12 năm trước cách đây
mục cha
commit
4e2f6d7d8f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      contrib/lisp/org-e-odt.el

+ 1 - 1
contrib/lisp/org-e-odt.el

@@ -2886,7 +2886,7 @@ and prefix with \"OrgSrc\".  For example,
 	  (lambda (style text-block text-id text-begins-block-p)
 	    (insert (format "<text:span text:style-name=\"%s\">" style))))
 	 (hfy-end-span-handler (lambda nil (insert "</text:span>"))))
-    (with-no-warnings (htmlfontify-string line))))
+    (org-no-warnings (htmlfontify-string line))))
 
 (defun org-e-odt-do-format-code
   (code &optional lang refs retain-labels num-start)