Commit 6f9260e8 authored by Bozhidar Batsov's avatar Bozhidar Batsov Committed by Dmitry Gutov

* lisp/progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax

table and abbrev table, `define-derived-mode' does that for us
anyway.
parent 6014de84
2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
* progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
table and abbrev table, `define-derived-mode' does that for us
anyway.
2013-11-01 Glenn Morris <rgm@gnu.org>
* Makefile.in: Remove manual mh-e dependencies (writing .elc
......
......@@ -141,9 +141,6 @@ This should only be called after matching against `ruby-here-doc-beg-re'."
(defconst ruby-symbol-re (concat "[" ruby-symbol-chars "]")
"Regexp to match symbols.")
(define-abbrev-table 'ruby-mode-abbrev-table ()
"Abbrev table in use in Ruby mode buffers.")
(defvar ruby-use-smie t)
(defvar ruby-mode-map
......@@ -563,8 +560,6 @@ explicitly declared in magic comment."
(defun ruby-mode-variables ()
"Set up initial buffer-local variables for Ruby mode."
(set-syntax-table ruby-mode-syntax-table)
(setq local-abbrev-table ruby-mode-abbrev-table)
(setq indent-tabs-mode ruby-indent-tabs-mode)
(if ruby-use-smie
(smie-setup ruby-smie-grammar #'ruby-smie-rules
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment