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:
0602dc3
)
Fixed bugs in url regexp and text entry face.
author
Tim Vaughan
<tgvaughan@gmail.com>
Sat, 27 Apr 2019 11:24:19 +0000
(13:24 +0200)
committer
Tim Vaughan
<tgvaughan@gmail.com>
Sat, 27 Apr 2019 11:24:46 +0000
(13:24 +0200)
elopher.el
patch
|
blob
|
history
diff --git
a/elopher.el
b/elopher.el
index
ab4d84c
..
1502782
100644
(file)
--- a/
elopher.el
+++ b/
elopher.el
@@
-60,7
+60,7
@@
"Face used for index records.")
(defface elopher-text
"Face used for index records.")
(defface elopher-text
- '((default :weight
"bold"
)
+ '((default :weight
bold
)
(((background dark)) :foreground "white"))
"Face used for text records.")
(((background dark)) :foreground "white"))
"Face used for text records.")
@@
-320,7
+320,7
@@
The result is stored as a string in the variable elopher-selector-string."
;; Text retrieval
;; Text retrieval
-(defconst elopher-url-regex "\\(https?\\|gopher\\)://\\([a-zA-Z0-9.\-]+\\)\\(?3::[0-9]+\\)?\\(?4:/[^ \r\n\t(),]*\\)"
+(defconst elopher-url-regex "\\(https?\\|gopher\\)://\\([a-zA-Z0-9.\-]+\\)\\(?3::[0-9]+\\)?\\(?4:/[^ \r\n\t(),]*\\)
?
"
"Regexp used to locate and buttinofy URLs in text files loaded by elopher.")
(defun elopher-buttonify-urls (string)
"Regexp used to locate and buttinofy URLs in text files loaded by elopher.")
(defun elopher-buttonify-urls (string)