diff options
| author | Dan Nicolaescu | 2009-10-26 06:43:36 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2009-10-26 06:43:36 +0000 |
| commit | a7610c523cdd0f381e05d10dd2e5abdaf60f8bbf (patch) | |
| tree | ba103f8b4ce4e22edef6b80ca67052499f0e2e59 /lisp/progmodes/ruby-mode.el | |
| parent | 0667de2146b9f62e66133f9eca6393e0bb00274c (diff) | |
| download | emacs-a7610c523cdd0f381e05d10dd2e5abdaf60f8bbf.tar.gz emacs-a7610c523cdd0f381e05d10dd2e5abdaf60f8bbf.zip | |
* textmodes/tex-mode.el (tex-dvi-view-command)
(tex-show-queue-command, tex-open-quote):
* progmodes/ruby-mode.el (auto-mode-alist)
(interpreter-mode-alist): Purecopy strings.
* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
* emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
string for the hook, keymap and abbrev table.
* emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
* x-dnd.el (x-dnd-xdnd-to-action):
* startup.el (fancy-startup-text, fancy-about-text): Change to
defconst from defvar.
* ps-print.el (ps-page-dimensions-database): Purecopy initial value.
* mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
Purecopy initialization strings.
* mail/sendmail.el (mail-header-separator)
(mail-personal-alias-file):
* mail/rmail.el (rmail-default-dont-reply-to-names)
(rmail-ignored-headers, rmail-retry-ignored-headers)
(rmail-highlighted-headers, rmail-secondary-file-directory)
(rmail-secondary-file-regexp):
* files.el (null-device, file-name-invalid-regexp)
(locate-dominating-stop-dir-regexp)
(inhibit-first-line-modes-regexps): Purecopy initialization
strings.
(interpreter-mode-alist): Use mapcar instead of mapc.
* buff-menu.el (Buffer-menu-mode-map): Purecopy name.
* bindings.el (mode-line-major-mode-keymap): Purecopy name.
(completion-ignored-extensions):
(debug-ignored-errors): Purecopy strings.
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 4807d64f053..4638778f798 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -1419,11 +1419,11 @@ The variable `ruby-indent-level' controls the amount of indentation. | |||
| 1419 | ;;; Invoke ruby-mode when appropriate | 1419 | ;;; Invoke ruby-mode when appropriate |
| 1420 | 1420 | ||
| 1421 | ;;;###autoload | 1421 | ;;;###autoload |
| 1422 | (add-to-list 'auto-mode-alist '("\\.rb\\'" . ruby-mode)) | 1422 | (add-to-list 'auto-mode-alist (cons (purecopy "\\.rb\\'") 'ruby-mode)) |
| 1423 | 1423 | ||
| 1424 | ;;;###autoload | 1424 | ;;;###autoload |
| 1425 | (dolist (name (list "ruby" "rbx" "jruby" "ruby1.9" "ruby1.8")) | 1425 | (dolist (name (list "ruby" "rbx" "jruby" "ruby1.9" "ruby1.8")) |
| 1426 | (add-to-list 'interpreter-mode-alist (cons name 'ruby-mode))) | 1426 | (add-to-list 'interpreter-mode-alist (cons (purecopy name) 'ruby-mode))) |
| 1427 | 1427 | ||
| 1428 | (provide 'ruby-mode) | 1428 | (provide 'ruby-mode) |
| 1429 | 1429 | ||