summaryrefslogtreecommitdiff
path: root/test/src/font-tests.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-08-08 11:50:33 +0200
committerStefan Kangas <stefan@marxist.se>2022-08-08 11:50:33 +0200
commit60738e569d24b74b9e6973225d143b3468bfc60f (patch)
treec13f8b2999b8af3e2c637af6a7f7185b997d7a83 /test/src/font-tests.el
parent77bf50cb330807039cc84138fb84870bd6d532e2 (diff)
downloademacs-60738e569d24b74b9e6973225d143b3468bfc60f.tar.gz
Remove no-byte-compile cookie from some libraries
This gives us back byte-compiler warnings for these files. * lisp/mh-e/mh-acros.el: * test/lisp/comint-tests.el: * test/lisp/emacs-lisp/nadvice-tests.el: * test/lisp/emacs-lisp/syntax-tests.el: * test/lisp/xml-tests.el: * test/src/font-tests.el: Remove no-byte-compile cookie. * test/src/font-tests.el (font-parse-explain): Fix warning.
Diffstat (limited to 'test/src/font-tests.el')
-rw-r--r--test/src/font-tests.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/src/font-tests.el b/test/src/font-tests.el
index d99b0be89e1..7e9669c6513 100644
--- a/test/src/font-tests.el
+++ b/test/src/font-tests.el
@@ -96,8 +96,7 @@ expected font properties from parsing NAME.")
(put 'font-parse-check 'ert-explainer 'font-parse-explain)
(defun font-parse-explain (name prop expected)
- (let ((result (font-get (font-spec :name name) prop))
- (propname (symbol-name prop)))
+ (let ((propname (symbol-name prop)))
(format "Parsing `%s': expected %s `%s', got `%s'."
name (substring propname 1) expected
(font-get (font-spec :name name) prop))))
@@ -184,9 +183,5 @@ expected font properties from parsing NAME.")
:family)
'name-with-lots-of-dashes)))
-;; Local Variables:
-;; no-byte-compile: t
-;; End:
-
(provide 'font-tests)
;;; font-tests.el ends here.