From a82f824e9097e6f081c915fec0f02a92c726017a Mon Sep 17 00:00:00 2001 From: dimaexe Date: Fri, 13 Apr 2007 07:46:13 +0000 Subject: [PATCH] README updated. git-svn-id: svn+ssh://rubyforge.org/var/svn/emacs-rails/trunk@180 cc5033d0-740f-0410-afc7-949910e492f2 --- README | 15 +++------------ predictive-prog-mode.el | 2 +- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/README b/README index 47f54b9..f292af8 100644 --- a/README +++ b/README @@ -5,14 +5,14 @@ friendly == Instalation -You need download last release from RubyForge page +You need download last release from RubyForge page "http://rubyforge.org/projects/emacs-rails" and and unpack it to directory containing libraries of Emacs, by default it's $HOME/.emacs.d/ You can also use SVN - cd $HOME/.emacs.d/ + cd $HOME/.emacs.d/ svn co svn://rubyforge/var/svn/emacs-rails/trunk emacs-rails Download and install required libraries @@ -26,15 +26,6 @@ Download and install required libraries After that you must add this code in $HOME/.emacs (setq load-path (cons "~/.emacs.d/rails" load-path)) - - (defun try-complete-abbrev (old) - (if (expand-abbrev) t nil)) - - (setq hippie-expand-try-functions-list - '(try-complete-abbrev - try-complete-file-name - try-expand-dabbrev)) - (require 'rails) For Windows users: you can use your help in CHM format (the default @@ -82,7 +73,7 @@ can find them in the brackets. === Management of WEBrick/Mongrel -* Your can select Webrick, Mongrel or Lighttpd +* Your can select Webrick, Mongrel or Lighttpd * Start/stop application server %(key)C-c C-c w s% * Automatic browsing on current action (from view or controller) %(key)C-c C-c w a% diff --git a/predictive-prog-mode.el b/predictive-prog-mode.el index bde8e6d..8bbb88c 100644 --- a/predictive-prog-mode.el +++ b/predictive-prog-mode.el @@ -54,7 +54,7 @@ if there a string or a comment." only, like `flyspell-prog-mode'." (interactive) (when (fboundp 'predictive-mode) - (make-local-variable 'predictive-main-dict) + (set (make-local-variable 'predictive-main-dict) nil) (set (make-local-variable 'predictive-prog-mode-main-dict) predictive-main-dict) (if (find 'activate-predictive-inside-comments after-change-functions) (progn