comparison lisp/progmodes/ruby-mode.el @ 109967:4653f09a70cf

* progmodes/ruby-mode.el (ruby): Add defgroup.
author Chong Yidong <cyd@stupidchicken.com>
date Tue, 24 Aug 2010 16:29:44 -0400
parents c1e50e6f89af
children b10051866f51
comparison
equal deleted inserted replaced
109966:ba4a9b0e3879 109967:4653f09a70cf
40 ;; Still needs more docstrings; search below for TODO. 40 ;; Still needs more docstrings; search below for TODO.
41 41
42 ;;; Code: 42 ;;; Code:
43 43
44 (eval-when-compile (require 'cl)) 44 (eval-when-compile (require 'cl))
45
46 (defgroup ruby nil
47 "Major mode for editing Ruby code."
48 :prefix "ruby-"
49 :group 'languages)
45 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 "\\_>"
49 "\\>")) 54 "\\>"))