diff options
| author | Kevin Ryde | 2010-08-24 16:29:44 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-08-24 16:29:44 -0400 |
| commit | 44a41a47d1ed7f2f2d8bd583e5f5d76d49bba0a0 (patch) | |
| tree | 0d2231c8dc865c42664538a0c56be558e3664151 | |
| parent | edfd00fa82735b6930c714d32884093718c4a951 (diff) | |
| download | emacs-44a41a47d1ed7f2f2d8bd583e5f5d76d49bba0a0.tar.gz emacs-44a41a47d1ed7f2f2d8bd583e5f5d76d49bba0a0.zip | |
* progmodes/ruby-mode.el (ruby): Add defgroup.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b273f017b7d..48a8938c355 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-08-24 Kevin Ryde <user42@zip.com.au> | ||
| 2 | |||
| 3 | * progmodes/ruby-mode.el (ruby): Add defgroup. | ||
| 4 | |||
| 1 | 2010-08-24 Chong Yidong <cyd@stupidchicken.com> | 5 | 2010-08-24 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * progmodes/python.el: Add Ipython support (Bug#5390). | 7 | * progmodes/python.el: Add Ipython support (Bug#5390). |
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index a75c5b01bb8..0b92234bf1c 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -43,6 +43,11 @@ | |||
| 43 | 43 | ||
| 44 | (eval-when-compile (require 'cl)) | 44 | (eval-when-compile (require 'cl)) |
| 45 | 45 | ||
| 46 | (defgroup ruby nil | ||
| 47 | "Major mode for editing Ruby code." | ||
| 48 | :prefix "ruby-" | ||
| 49 | :group 'languages) | ||
| 50 | |||
| 46 | (defconst ruby-keyword-end-re | 51 | (defconst ruby-keyword-end-re |
| 47 | (if (string-match "\\_>" "ruby") | 52 | (if (string-match "\\_>" "ruby") |
| 48 | "\\_>" | 53 | "\\_>" |