The Lambda Lab
/
projects
/
elpher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
78ea2a7
)
Added rx dependency to resolve flycheck warning.
author
plugd
<plugd@thelambdalab.xyz>
Tue, 9 Aug 2022 00:40:22 +0000
(10:40 +1000)
committer
plugd
<plugd@thelambdalab.xyz>
Tue, 9 Aug 2022 00:40:22 +0000
(10:40 +1000)
elpher.el
patch
|
blob
|
history
diff --git
a/elpher.el
b/elpher.el
index
882ed2a
..
6db62c3
100644
(file)
--- a/
elpher.el
+++ b/
elpher.el
@@
-66,6
+66,7
@@
(require 'gnutls)
(require 'socks)
(require 'bookmark)
(require 'gnutls)
(require 'socks)
(require 'bookmark)
+(require 'rx)
;;; Global constants
;;
;;; Global constants
;;
@@
-1804,10
+1805,10
@@
Assumes UTF-8 encoding for all text files."
(filename (elpher-address-filename address)))
(unless (file-exists-p filename)
(elpher-visit-previous-page)
(filename (elpher-address-filename address)))
(unless (file-exists-p filename)
(elpher-visit-previous-page)
-
(error "File not found"))
+ (error "File not found"))
(unless (file-readable-p filename)
(elpher-visit-previous-page)
(unless (file-readable-p filename)
(elpher-visit-previous-page)
-
(error "Could not read from file"))
+ (error "Could not read from file"))
(let ((body (with-temp-buffer
(let ((coding-system-for-read 'binary)
(coding-system-for-write 'binary))
(let ((body (with-temp-buffer
(let ((coding-system-for-read 'binary)
(coding-system-for-write 'binary))