eschulte/emacs24-starter-kit

start-kit-ruby File mode specification error: (void-function inf-ruby-keys)

Closed this issue · 3 comments

Doing (starter-kit-load "ruby") causes the following to appear in Messages

Loading /Users/pat/.emacs.d/starter-kit-ruby.el (source)...
(lambda (line) ...) quoted with ' rather than with #'
Loading /Users/pat/.emacs.d/starter-kit-ruby.el (source)...done

And then later, when visiting a ruby file:

File mode specification error: (void-function inf-ruby-keys)
add-hook: Wrong type argument: symbolp, (quote ruby-mode)

And, weirdly, it causes the current window to not switch to the buffer of the newly visited file - I have to do C-x b and switch to it.

I just pushed up a fix for the quoting issue. Let me know if the file mode error continues.

thanks for reporting

Still getting:

File mode specification error: (void-function inf-ruby-keys)

But the other messages and wonky behavior seem to be fixed. Do you know where the inf-ruby-keys function is supposed to be defined?

Looks like the hook loading inf-ruby-keys may be safely removed. I've just pushed up a commit which does this.