summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2024-04-03 23:26:11 +0100
committerjao <jao@gnu.org>2024-04-03 23:26:11 +0100
commitd8d74932f600111c610f015d5b5d126bff327dad (patch)
tree4cf2ca001688388c9a9720327ec7f491f93ec6e6
parente3611a7408259b8acb76c46c294fb11d8038eaa7 (diff)
downloadelibs-d8d74932f600111c610f015d5b5d126bff327dad.tar.gz
elibs-d8d74932f600111c610f015d5b5d126bff327dad.tar.bz2
compilation warnings
-rw-r--r--custom/jao-custom-eww.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/jao-custom-eww.el b/custom/jao-custom-eww.el
index 0b444a4..441ab6a 100644
--- a/custom/jao-custom-eww.el
+++ b/custom/jao-custom-eww.el
@@ -1,7 +1,7 @@
;; -*- lexical-binding: t -*-
;;; integration with browse-url and afio
-(defun jao-eww-browse-url (url &rest r)
+(defun jao-eww-browse-url (url &rest _r)
"Browse URL using eww."
(if (derived-mode-p 'eww-mode)
(eww url)
@@ -151,7 +151,7 @@
(concat (make-string (- (* 2 n) 1) ?*) " " txt "\n"))
('(face italic) (format "/%s/ " (string-trim txt)))
('(face bold) (format "*%s* " (string-trim txt)))
- (t txt))))
+ (_ txt))))
(goto-char next))))
(pop-to-buffer buff)
(goto-char (point-min))))