From 710534576698bc05be625784b9ae926eddde2acb Mon Sep 17 00:00:00 2001 From: tsukimizake Date: Wed, 18 Jun 2014 21:26:15 +0900 Subject: [PATCH] Update README.md Fix setting example --- editors/emacs/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editors/emacs/README.md b/editors/emacs/README.md index c1bd556..d7c2742 100644 --- a/editors/emacs/README.md +++ b/editors/emacs/README.md @@ -7,7 +7,7 @@ ## Setup * First, follow the Setup section in the root README. * Second, add the following to your .emacs. With this setting, dcd-server starts automatically when you open file in d-mode. - +``` (add-to-list 'load-path "path_to_ac-dcd.el") (require 'ac-dcd) (add-to-list 'ac-modes 'd-mode) @@ -16,7 +16,7 @@ (add-to-list 'ac-sources 'ac-source-dcd) (auto-complete-mode t)) (add-hook 'd-mode-hook 'ac-d-mode-setup) - +``` * Third, set import path using ```M-x customize-variable RET ac-dcd-flags```. * When something is wrong, please check variables with ```M-x customize-apropos RET ac-dcd``` and restart server with ```M-x ac-dcd-init-server```. @@ -25,4 +25,4 @@ * detailed ac-source symbol * goto definition * show doc -* and so on... \ No newline at end of file +* and so on...