aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.dir-locals.el2
-rw-r--r--lisp/org/org-info.el10
-rw-r--r--lisp/org/ox-html.el4
-rw-r--r--lisp/startup.el34
-rw-r--r--test/lisp/ffap-tests.el8
-rw-r--r--test/lisp/thingatpt-tests.el32
6 files changed, 45 insertions, 45 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 8a4a348ebd4..a3705f4d93c 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -8,7 +8,7 @@
8 (log-edit-setup-add-author . t))) 8 (log-edit-setup-add-author . t)))
9 (change-log-mode . ((add-log-time-zone-rule . t) 9 (change-log-mode . ((add-log-time-zone-rule . t)
10 (fill-column . 74) 10 (fill-column . 74)
11 (bug-reference-url-format . "http://debbugs.gnu.org/%s") 11 (bug-reference-url-format . "https://debbugs.gnu.org/%s")
12 (mode . bug-reference))) 12 (mode . bug-reference)))
13 (diff-mode . ((mode . whitespace))) 13 (diff-mode . ((mode . whitespace)))
14 (emacs-lisp-mode . ((indent-tabs-mode . nil)))) 14 (emacs-lisp-mode . ((indent-tabs-mode . nil))))
diff --git a/lisp/org/org-info.el b/lisp/org/org-info.el
index 79b9bcc3d96..088e0c7aa73 100644
--- a/lisp/org/org-info.el
+++ b/lisp/org/org-info.el
@@ -19,7 +19,7 @@
19;; GNU General Public License for more details. 19;; GNU General Public License for more details.
20 20
21;; You should have received a copy of the GNU General Public License 21;; You should have received a copy of the GNU General Public License
22;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. 22;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
24;; 24;;
25;;; Commentary: 25;;; Commentary:
@@ -92,11 +92,11 @@
92 "smtpmail" "speedbar" "srecode" "todo-mode" "tramp" "url" "vip" "viper" 92 "smtpmail" "speedbar" "srecode" "todo-mode" "tramp" "url" "vip" "viper"
93 "widget" "wisent" "woman") 93 "widget" "wisent" "woman")
94 "List of emacs documents available. 94 "List of emacs documents available.
95Taken from <http://www.gnu.org/software/emacs/manual/html_mono/.>") 95Taken from <https://www.gnu.org/software/emacs/manual/html_mono/.>")
96 96
97(defconst org-info-other-documents 97(defconst org-info-other-documents
98 '(("libc" . "http://www.gnu.org/software/libc/manual/html_mono/libc.html") 98 '(("libc" . "https://www.gnu.org/software/libc/manual/html_mono/libc.html")
99 ("make" . "http://www.gnu.org/software/make/manual/make.html")) 99 ("make" . "https://www.gnu.org/software/make/manual/make.html"))
100 "Alist of documents generated from Texinfo source. 100 "Alist of documents generated from Texinfo source.
101When converting info links to HTML, links to any one of these manuals are 101When converting info links to HTML, links to any one of these manuals are
102converted to use these URL.") 102converted to use these URL.")
@@ -108,7 +108,7 @@ the official page for that document, e.g., use \"gnu.org\" for all Emacs
108related documents. Otherwise, append \".html\" extension to FILENAME. 108related documents. Otherwise, append \".html\" extension to FILENAME.
109See `org-info-emacs-documents' and `org-info-other-documents' for details." 109See `org-info-emacs-documents' and `org-info-other-documents' for details."
110 (cond ((member filename org-info-emacs-documents) 110 (cond ((member filename org-info-emacs-documents)
111 (format "http://www.gnu.org/software/emacs/manual/html_mono/%s.html" 111 (format "https://www.gnu.org/software/emacs/manual/html_mono/%s.html"
112 filename)) 112 filename))
113 ((cdr (assoc filename org-info-other-documents))) 113 ((cdr (assoc filename org-info-other-documents)))
114 (t (concat filename ".html")))) 114 (t (concat filename ".html"))))
diff --git a/lisp/org/ox-html.el b/lisp/org/ox-html.el
index aeb38ebc102..aec4efc4ca6 100644
--- a/lisp/org/ox-html.el
+++ b/lisp/org/ox-html.el
@@ -19,7 +19,7 @@
19;; GNU General Public License for more details. 19;; GNU General Public License for more details.
20 20
21;; You should have received a copy of the GNU General Public License 21;; You should have received a copy of the GNU General Public License
22;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. 22;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
23 23
24;;; Commentary: 24;;; Commentary:
25 25
@@ -1318,7 +1318,7 @@ like that: \"%%\"."
1318 :type 'string) 1318 :type 'string)
1319 1319
1320(defcustom org-html-creator-string 1320(defcustom org-html-creator-string
1321 (format "<a href=\"http://www.gnu.org/software/emacs/\">Emacs</a> %s (<a href=\"http://orgmode.org\">Org</a> mode %s)" 1321 (format "<a href=\"https://www.gnu.org/software/emacs/\">Emacs</a> %s (<a href=\"http://orgmode.org\">Org</a> mode %s)"
1322 emacs-version 1322 emacs-version
1323 (if (fboundp 'org-version) (org-version) "unknown version")) 1323 (if (fboundp 'org-version) (org-version) "unknown version"))
1324 "Information about the creator of the HTML document. 1324 "Information about the creator of the HTML document.
diff --git a/lisp/startup.el b/lisp/startup.el
index 0fbba1bea23..7cf6fee4252 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -20,7 +20,7 @@
20;; GNU General Public License for more details. 20;; GNU General Public License for more details.
21 21
22;; You should have received a copy of the GNU General Public License 22;; You should have received a copy of the GNU General Public License
23;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. 23;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
24 24
25;;; Commentary: 25;;; Commentary:
26 26
@@ -1463,18 +1463,18 @@ If this is nil, no message will be displayed."
1463 `((:face (variable-pitch font-lock-comment-face) 1463 `((:face (variable-pitch font-lock-comment-face)
1464 "Welcome to " 1464 "Welcome to "
1465 :link ("GNU Emacs" 1465 :link ("GNU Emacs"
1466 ,(lambda (_button) (browse-url "http://www.gnu.org/software/emacs/")) 1466 ,(lambda (_button) (browse-url "https://www.gnu.org/software/emacs/"))
1467 "Browse http://www.gnu.org/software/emacs/") 1467 "Browse https://www.gnu.org/software/emacs/")
1468 ", one component of the " 1468 ", one component of the "
1469 :link 1469 :link
1470 ,(lambda () 1470 ,(lambda ()
1471 (if (eq system-type 'gnu/linux) 1471 (if (eq system-type 'gnu/linux)
1472 `("GNU/Linux" 1472 `("GNU/Linux"
1473 ,(lambda (_button) (browse-url "http://www.gnu.org/gnu/linux-and-gnu.html")) 1473 ,(lambda (_button) (browse-url "https://www.gnu.org/gnu/linux-and-gnu.html"))
1474 "Browse http://www.gnu.org/gnu/linux-and-gnu.html") 1474 "Browse https://www.gnu.org/gnu/linux-and-gnu.html")
1475 `("GNU" ,(lambda (_button) 1475 `("GNU" ,(lambda (_button)
1476 (browse-url "http://www.gnu.org/gnu/thegnuproject.html")) 1476 (browse-url "https://www.gnu.org/gnu/thegnuproject.html"))
1477 "Browse http://www.gnu.org/gnu/thegnuproject.html"))) 1477 "Browse https://www.gnu.org/gnu/thegnuproject.html")))
1478 " operating system.\n\n" 1478 " operating system.\n\n"
1479 :face variable-pitch 1479 :face variable-pitch
1480 :link ("Emacs Tutorial" ,(lambda (_button) (help-with-tutorial))) 1480 :link ("Emacs Tutorial" ,(lambda (_button) (help-with-tutorial)))
@@ -1506,8 +1506,8 @@ If this is nil, no message will be displayed."
1506 "\n" 1506 "\n"
1507 :link ("Emacs Guided Tour" 1507 :link ("Emacs Guided Tour"
1508 ,(lambda (_button) 1508 ,(lambda (_button)
1509 (browse-url "http://www.gnu.org/software/emacs/tour/")) 1509 (browse-url "https://www.gnu.org/software/emacs/tour/"))
1510 "Browse http://www.gnu.org/software/emacs/tour/") 1510 "Browse https://www.gnu.org/software/emacs/tour/")
1511 "\tOverview of Emacs features at gnu.org\n" 1511 "\tOverview of Emacs features at gnu.org\n"
1512 :link ("View Emacs Manual" ,(lambda (_button) (info-emacs-manual))) 1512 :link ("View Emacs Manual" ,(lambda (_button) (info-emacs-manual)))
1513 "\tView the Emacs manual using Info\n" 1513 "\tView the Emacs manual using Info\n"
@@ -1529,16 +1529,16 @@ Each element in the list should be a list of strings or pairs
1529 `((:face (variable-pitch font-lock-comment-face) 1529 `((:face (variable-pitch font-lock-comment-face)
1530 "This is " 1530 "This is "
1531 :link ("GNU Emacs" 1531 :link ("GNU Emacs"
1532 ,(lambda (_button) (browse-url "http://www.gnu.org/software/emacs/")) 1532 ,(lambda (_button) (browse-url "https://www.gnu.org/software/emacs/"))
1533 "Browse http://www.gnu.org/software/emacs/") 1533 "Browse https://www.gnu.org/software/emacs/")
1534 ", one component of the " 1534 ", one component of the "
1535 :link 1535 :link
1536 ,(lambda () 1536 ,(lambda ()
1537 (if (eq system-type 'gnu/linux) 1537 (if (eq system-type 'gnu/linux)
1538 `("GNU/Linux" 1538 `("GNU/Linux"
1539 ,(lambda (_button) 1539 ,(lambda (_button)
1540 (browse-url "http://www.gnu.org/gnu/linux-and-gnu.html")) 1540 (browse-url "https://www.gnu.org/gnu/linux-and-gnu.html"))
1541 "Browse http://www.gnu.org/gnu/linux-and-gnu.html") 1541 "Browse https://www.gnu.org/gnu/linux-and-gnu.html")
1542 `("GNU" ,(lambda (_button) (describe-gnu-project)) 1542 `("GNU" ,(lambda (_button) (describe-gnu-project))
1543 "Display info on the GNU project."))) 1543 "Display info on the GNU project.")))
1544 " operating system.\n" 1544 " operating system.\n"
@@ -1597,8 +1597,8 @@ Each element in the list should be a list of strings or pairs
1597 "\n" 1597 "\n"
1598 :link ("Emacs Guided Tour" 1598 :link ("Emacs Guided Tour"
1599 ,(lambda (_button) 1599 ,(lambda (_button)
1600 (browse-url "http://www.gnu.org/software/emacs/tour/")) 1600 (browse-url "https://www.gnu.org/software/emacs/tour/"))
1601 "Browse http://www.gnu.org/software/emacs/tour/") 1601 "Browse https://www.gnu.org/software/emacs/tour/")
1602 "\tSee an overview of Emacs features at gnu.org")) 1602 "\tSee an overview of Emacs features at gnu.org"))
1603 "A list of texts to show in the middle part of the About screen. 1603 "A list of texts to show in the middle part of the About screen.
1604Each element in the list should be a list of strings or pairs 1604Each element in the list should be a list of strings or pairs
@@ -1706,8 +1706,8 @@ a face or button specification."
1706 ;; Insert the image with a help-echo and a link. 1706 ;; Insert the image with a help-echo and a link.
1707 (make-button (prog1 (point) (insert-image img)) (point) 1707 (make-button (prog1 (point) (insert-image img)) (point)
1708 'face 'default 1708 'face 'default
1709 'help-echo "mouse-2, RET: Browse http://www.gnu.org/" 1709 'help-echo "mouse-2, RET: Browse https://www.gnu.org/"
1710 'action (lambda (_button) (browse-url "http://www.gnu.org/")) 1710 'action (lambda (_button) (browse-url "https://www.gnu.org/"))
1711 'follow-link t) 1711 'follow-link t)
1712 (insert "\n\n"))))) 1712 (insert "\n\n")))))
1713 1713
diff --git a/test/lisp/ffap-tests.el b/test/lisp/ffap-tests.el
index 1862c6c3277..0b90d640364 100644
--- a/test/lisp/ffap-tests.el
+++ b/test/lisp/ffap-tests.el
@@ -17,7 +17,7 @@
17;; GNU General Public License for more details. 17;; GNU General Public License for more details.
18 18
19;; You should have received a copy of the GNU General Public License 19;; You should have received a copy of the GNU General Public License
20;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. 20;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
21 21
22;;; Commentary: 22;;; Commentary:
23 23
@@ -28,7 +28,7 @@
28(require 'ffap) 28(require 'ffap)
29 29
30(ert-deftest ffap-tests-25243 () 30(ert-deftest ffap-tests-25243 ()
31 "Test for http://debbugs.gnu.org/25243 ." 31 "Test for https://debbugs.gnu.org/25243 ."
32 (let ((file (make-temp-file "test-Bug#25243"))) 32 (let ((file (make-temp-file "test-Bug#25243")))
33 (unwind-protect 33 (unwind-protect
34 (with-temp-file file 34 (with-temp-file file
@@ -72,12 +72,12 @@ Host = example.com\n")
72left alone when opening a URL in an external browser." 72left alone when opening a URL in an external browser."
73 (cl-letf* ((old (current-window-configuration)) 73 (cl-letf* ((old (current-window-configuration))
74 ((symbol-function 'ffap-prompter) 74 ((symbol-function 'ffap-prompter)
75 (lambda () "http://www.gnu.org")) 75 (lambda () "https://www.gnu.org"))
76 (urls nil) 76 (urls nil)
77 (ffap-url-fetcher (lambda (url) (push url urls) nil))) 77 (ffap-url-fetcher (lambda (url) (push url urls) nil)))
78 (should-not (ffap-other-window)) 78 (should-not (ffap-other-window))
79 (should (equal (current-window-configuration) old)) 79 (should (equal (current-window-configuration) old))
80 (should (equal urls '("http://www.gnu.org"))))) 80 (should (equal urls '("https://www.gnu.org")))))
81 81
82(provide 'ffap-tests) 82(provide 'ffap-tests)
83 83
diff --git a/test/lisp/thingatpt-tests.el b/test/lisp/thingatpt-tests.el
index 128534264e5..aeee3b52de9 100644
--- a/test/lisp/thingatpt-tests.el
+++ b/test/lisp/thingatpt-tests.el
@@ -15,23 +15,23 @@
15;; GNU General Public License for more details. 15;; GNU General Public License for more details.
16 16
17;; You should have received a copy of the GNU General Public License 17;; You should have received a copy of the GNU General Public License
18;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. 18;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
19 19
20;;; Code: 20;;; Code:
21 21
22(require 'ert) 22(require 'ert)
23 23
24(defvar thing-at-point-test-data 24(defvar thing-at-point-test-data
25 '(("http://1.gnu.org" 1 url "http://1.gnu.org") 25 '(("https://1.gnu.org" 1 url "https://1.gnu.org")
26 ("http://2.gnu.org" 6 url "http://2.gnu.org") 26 ("https://2.gnu.org" 6 url "https://2.gnu.org")
27 ("http://3.gnu.org" 19 url "http://3.gnu.org") 27 ("https://3.gnu.org" 19 url "https://3.gnu.org")
28 ("https://4.gnu.org" 1 url "https://4.gnu.org") 28 ("https://4.gnu.org" 1 url "https://4.gnu.org")
29 ("A geo URI (geo:3.14159,-2.71828)." 12 url "geo:3.14159,-2.71828") 29 ("A geo URI (geo:3.14159,-2.71828)." 12 url "geo:3.14159,-2.71828")
30 ("Visit http://5.gnu.org now." 5 url nil) 30 ("Visit https://5.gnu.org now." 5 url nil)
31 ("Visit http://6.gnu.org now." 7 url "http://6.gnu.org") 31 ("Visit https://6.gnu.org now." 7 url "https://6.gnu.org")
32 ("Visit http://7.gnu.org now." 22 url "http://7.gnu.org") 32 ("Visit https://7.gnu.org now." 22 url "https://7.gnu.org")
33 ("Visit http://8.gnu.org now." 22 url "http://8.gnu.org") 33 ("Visit https://8.gnu.org now." 22 url "https://8.gnu.org")
34 ("Visit http://9.gnu.org now." 24 url nil) 34 ("Visit https://9.gnu.org now." 25 url nil)
35 ;; Invalid URIs 35 ;; Invalid URIs
36 ("<<<<" 2 url nil) 36 ("<<<<" 2 url nil)
37 ("<>" 1 url nil) 37 ("<>" 1 url nil)
@@ -48,13 +48,13 @@
48 ("Url: <url:foo://2.example.com>..." 30 url "foo://2.example.com") 48 ("Url: <url:foo://2.example.com>..." 30 url "foo://2.example.com")
49 ("Url: <url:foo://www.gnu.org/a bc>..." 20 url "foo://www.gnu.org/a bc") 49 ("Url: <url:foo://www.gnu.org/a bc>..." 20 url "foo://www.gnu.org/a bc")
50 ;; Hack used by thing-at-point: drop punctuation at end of URI. 50 ;; Hack used by thing-at-point: drop punctuation at end of URI.
51 ("Go to http://www.gnu.org, for details" 7 url "http://www.gnu.org") 51 ("Go to https://www.gnu.org, for details" 7 url "https://www.gnu.org")
52 ("Go to http://www.gnu.org." 24 url "http://www.gnu.org") 52 ("Go to https://www.gnu.org." 24 url "https://www.gnu.org")
53 ;; Standard URI delimiters 53 ;; Standard URI delimiters
54 ("Go to \"http://10.gnu.org\"." 8 url "http://10.gnu.org") 54 ("Go to \"https://10.gnu.org\"." 8 url "https://10.gnu.org")
55 ("Go to \"http://11.gnu.org/\"." 26 url "http://11.gnu.org/") 55 ("Go to \"https://11.gnu.org/\"." 26 url "https://11.gnu.org/")
56 ("Go to <http://12.gnu.org> now." 8 url "http://12.gnu.org") 56 ("Go to <https://12.gnu.org> now." 8 url "https://12.gnu.org")
57 ("Go to <http://13.gnu.org> now." 24 url "http://13.gnu.org") 57 ("Go to <https://13.gnu.org> now." 24 url "https://13.gnu.org")
58 ;; Parenthesis handling (non-standard) 58 ;; Parenthesis handling (non-standard)
59 ("http://example.com/a(b)c" 21 url "http://example.com/a(b)c") 59 ("http://example.com/a(b)c" 21 url "http://example.com/a(b)c")
60 ("http://example.com/a(b)" 21 url "http://example.com/a(b)") 60 ("http://example.com/a(b)" 21 url "http://example.com/a(b)")
@@ -87,7 +87,7 @@ position to retrieve THING.")
87;; These tests reflect the actual behavior of 87;; These tests reflect the actual behavior of
88;; `thing-at-point-bounds-of-list-at-point'. 88;; `thing-at-point-bounds-of-list-at-point'.
89(ert-deftest thing-at-point-bug24627 () 89(ert-deftest thing-at-point-bug24627 ()
90 "Test for http://debbugs.gnu.org/24627 ." 90 "Test for https://debbugs.gnu.org/24627 ."
91 (let ((string-result '(("(a \"b\" c)" . (a "b" c)) 91 (let ((string-result '(("(a \"b\" c)" . (a "b" c))
92 (";(a \"b\" c)") 92 (";(a \"b\" c)")
93 ("(a \"b\" c\n)" . (a "b" c)) 93 ("(a \"b\" c\n)" . (a "b" c))