projects
/
elisp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c828c0d
)
Now allows words with period in them ("e.g.").
author
Francois Fleuret
<francois@fleuret.org>
Thu, 27 May 2010 17:02:25 +0000
(19:02 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Thu, 27 May 2010 17:02:25 +0000
(19:02 +0200)
lookup-dict.el
patch
|
blob
|
history
diff --git
a/lookup-dict.el
b/lookup-dict.el
index
e89c237
..
134a495
100644
(file)
--- a/
lookup-dict.el
+++ b/
lookup-dict.el
@@
-58,7
+58,7
@@
argument \\[universal-argument] forces the third."
(when (string= word "") (setq word (read-input "Word: ")))
- (setq word (replace-regexp-in-string "[^a-zA-Z\- ]" "" (or word "")))
+ (setq word (replace-regexp-in-string "[^a-zA-Z\-
\.
]" "" (or word "")))
(let ((name (concat "*definition " word "*")))