summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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))))