summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnastasios Grammenos <anastasios.grammenos@noris.gr>2020-09-26 14:14:36 +0300
committerAnastasios Grammenos <anastasios.grammenos@noris.gr>2020-09-26 14:14:36 +0300
commit3031d1096fcd814bf2965fe021ce833f3e5c8f5a (patch)
treea6fc3ae16194cc022f55ceaf1bc132f658b673bf
parentdcf93b3f4cf0f2f7e4f9f16d10dfd475a26d28d2 (diff)
downloadfcomp-master.tar.gz
fcomp-master.tar.bz2
fcomp-master.zip
Simplify fcomp--make syntax tableHEADmaster
-rw-r--r--fcomp.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/fcomp.el b/fcomp.el
index e765162..68d0081 100644
--- a/fcomp.el
+++ b/fcomp.el
@@ -145,7 +145,7 @@ and `fcomp-extra-valid-chars' as part of a word."
(mapc (lambda (char) (modify-syntax-entry char "w" table)) fcomp-extra-valid-chars))
(modify-syntax-entry ?- "w" table)
(modify-syntax-entry ?_ "w" table)
- (copy-syntax-table table)))
+ table))
(defun fcomp-get-canditates (word)
"Return a list of candidates for WORD curated by fcomp."
@@ -170,4 +170,3 @@ Requires fcomp. Get it at URL `https://git.eyesin.space/git/fcomp'"
(provide 'fcomp)
;;; fcomp.el ends here
-