Rename to gadict-setup-comment
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 21 Mar 2016 14:50:05 +0200
changeset 367 ba263c893207
parent 366 98ac19478839
child 368 9c6515663b38
Rename to gadict-setup-comment
contrib/gadict.el
--- a/contrib/gadict.el	Mon Mar 21 14:49:37 2016 +0200
+++ b/contrib/gadict.el	Mon Mar 21 14:50:05 2016 +0200
@@ -27,7 +27,7 @@
      ("^ +\\(?:v1\\|v2\\|v3\\|s\\|pl\\|male\\|female\\)$" . font-lock-doc-face)
      ("^\\(?:n\\|v\\|phr\\.v\\|adj\\|adv\\|pron\\|prep\\|num\\|conj\\|int\\)$" . font-lock-type-face) ))
 
-(defun gadict-setup-comment-style ()
+(defun gadict-setup-comment ()
   (set (make-local-variable 'comment-start) "#")
   (set (make-local-variable 'comment-continue) nil)
   (set (make-local-variable 'comment-end) "")
@@ -88,7 +88,7 @@
   (setq paragraph-separate "\\([ \t\f]*\\|_\\{5,\\}\\)$")
   (make-local-variable 'paragraph-start)
   (setq paragraph-start paragraph-separate)
-  (gadict-setup-comment-style)
+  (gadict-setup-comment)
   (add-hook 'font-lock-extend-region-functions 'gadict-font-lock-extend-region t) )
 
 (provide 'gadict)