summaryrefslogtreecommitdiff
path: root/lisp/net/puny.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2020-04-28 18:13:58 +0200
committerStefan Kangas <stefankangas@gmail.com>2020-04-28 18:14:28 +0200
commit8aca659bd14602c770d02902817fbedf78cadab7 (patch)
treeba359022d560399bd8f87c2bfc6684b31e8607a0 /lisp/net/puny.el
parent1844bcf556b21de79a97000223dd95ba86fd1817 (diff)
downloademacs-8aca659bd14602c770d02902817fbedf78cadab7.tar.gz
emacs-8aca659bd14602c770d02902817fbedf78cadab7.tar.bz2
emacs-8aca659bd14602c770d02902817fbedf78cadab7.zip
Use lexical-binding in puny.el and add more tests
* lisp/net/puny.el: Use lexical-binding. * test/lisp/net/puny-tests.el (puny-test-encode-domain) (puny-test-decode-domain, puny-highly-restrictive-domain-p): New tests.
Diffstat (limited to 'lisp/net/puny.el')
-rw-r--r--lisp/net/puny.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/puny.el b/lisp/net/puny.el
index 6987d253248..cc406076c58 100644
--- a/lisp/net/puny.el
+++ b/lisp/net/puny.el
@@ -1,4 +1,4 @@
-;;; puny.el --- translate non-ASCII domain names to ASCII
+;;; puny.el --- translate non-ASCII domain names to ASCII -*- lexical-binding:t -*-
;; Copyright (C) 2015-2020 Free Software Foundation, Inc.