Today I wanted to open an ObjC file in Emacs (on the Mac) and I got the following backtrace:
Debugger entered--Lisp error: (void-function c-subword-mode)
run-hooks(change-major-mode-after-body-hook prog-mode-hook c-mode-common-hook objc-mode-hook objc-mode-hook)
apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook c-mode-common-hook objc-mode-hook objc-mode-hook))
find-file-noselect-1(#<buffer TestAppDelegate.m> "~/Dropbox/Projects/Test/TestAppDelegate.m" nil nil "~Dropbox/Projects/Test/TestAppDelegate.m" (17207704 16777219))
find-file-noselect("/Users/stelianiancu/Dropbox/Projects/Test/TestAppDelegate.m" nil nil)
call-interactively(ido-find-file nil nil)
If I then go to the list of buffers I can see the file there and I can switch to it. However getting this error when trying to open it puzzles me.
Any idea what might be wrong here?