changeset 100347:d49ec2cd5727

Fix auto-mode-alist entry.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 11 Dec 2008 02:01:55 +0000
parents 4a4ef392ea08
children 48eefc1322df
files lisp/progmodes/ruby-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/ruby-mode.el	Thu Dec 11 02:01:35 2008 +0000
+++ b/lisp/progmodes/ruby-mode.el	Thu Dec 11 02:01:55 2008 +0000
@@ -1416,7 +1416,7 @@
 ;;; Invoke ruby-mode when appropriate
 
 ;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.rb$" . ruby-mode))
+(add-to-list 'auto-mode-alist '("\\.rb\\'" . ruby-mode))
 
 ;;;###autoload
 (add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))