X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=blobdiff_plain;f=elpher.el;fp=elpher.el;h=6db62c34b68b8752d9aae774b801de70f2e90178;hp=882ed2aac9d6e678d416b02ab3353fc0f749ac8f;hb=0dcebae92f46e5792a45ec46f65cc83db695553f;hpb=78ea2a7bcbe79ab4a775d245f97c2f24e15ac9e0 diff --git a/elpher.el b/elpher.el index 882ed2a..6db62c3 100644 --- a/elpher.el +++ b/elpher.el @@ -66,6 +66,7 @@ (require 'gnutls) (require 'socks) (require 'bookmark) +(require 'rx) ;;; 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) - (error "File not found")) + (error "File not found")) (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))