Highlight comment syntax. Fix uncommenting.
--- a/contrib/gadict.el Mon Mar 21 23:24:13 2016 +0200
+++ b/contrib/gadict.el Mon Mar 21 23:52:51 2016 +0200
@@ -18,8 +18,8 @@
;;; Code:
(defvar gadict-font-lock-keywords
- '( ("^\\(_\\{2\\}\\)\n\n\\(\\w.*\\)$"
- (1 font-lock-function-name-face) (2 font-lock-keyword-face))
+ '( ("^\\(_\\{2\\}\\)\n\n\\(\\w.*\\)$" (1 font-lock-function-name-face) (2 font-lock-keyword-face))
+ ("^#.*" . font-lock-comment-face)
("^ +\\[[^]\n]+]" . font-lock-type-face)
("^\\(?:en\\|ru\\|uk\\|la\\): " . font-lock-type-face)
("^\\(?:en\\|ru\\|uk\\|la\\)> " . font-lock-doc-face)
@@ -40,7 +40,7 @@
(set (make-local-variable 'comment-end) "")
(set (make-local-variable 'comment-end-skip) nil)
(set (make-local-variable 'comment-multi-line) nil)
- (set (make-local-variable 'comment-use-syntax) t) )
+ (set (make-local-variable 'comment-use-syntax) nil) )
(defun gadict-setup-paragraph ()
(set (make-local-variable 'paragraph-separate) "__$")