From 45e3d9786a0cbc8561fbaf6245b35d801c66e40f Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Thu, 27 May 2010 19:02:25 +0200 Subject: [PATCH] Now allows words with period in them ("e.g."). --- lookup-dict.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lookup-dict.el b/lookup-dict.el index e89c237..134a495 100644 --- 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 "*"))) -- 2.20.1