Load gadict mode if available.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 13 Mar 2016 14:16:22 +0200
changeset 1361 f7fcbc47f739
parent 1360 a65e3eb1d96e
child 1362 aaad8c283943
Load gadict mode if available.
.emacs-my
--- a/.emacs-my	Sun Mar 13 14:14:41 2016 +0200
+++ b/.emacs-my	Sun Mar 13 14:16:22 2016 +0200
@@ -1517,11 +1517,10 @@
 ;; (setq-default ispell-extra-args  '("--sug-mode=ultra"))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-(message "dict, dictd, dictionary")
-
-(when (fboundp 'dict-c5-mode)
-  (add-to-list 'auto-mode-alist '("\\.dict-c5$" . dict-c5-mode))
-  )
+(message "dict, dictd, dictionary, gadict")
+
+(when (fboundp 'gadict-mode)
+  (add-to-list 'auto-mode-alist '("\\.gadict$" . gadict-mode)) )
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "figlet")