contrib/gadict.el
changeset 987 6880ca22ec67
parent 984 73d6e2631338
child 998 14804339afc1
--- a/contrib/gadict.el	Sun Dec 10 23:59:39 2017 +0200
+++ b/contrib/gadict.el	Tue Dec 12 02:04:24 2017 +0200
@@ -52,7 +52,7 @@
 (defun gadict--espeak-cleanup-accent (s)
   "Remove accent if only one syllable in word."
   (if (<= (gadict--vowel-group-count s) 1)
-      (replace-regexp-in-string "$,1$h(B" "" s)
+      (replace-regexp-in-string "[$,1$h$l(B]" "" s)
     s))
 
 (defun gadict--espeak-cleanup-accent-in-sentence (s)