From: Jeff D. <da...@da...> - 2001-08-29 00:41:54
|
On Aug 28, 2001, Steve Wainstead said: > On Tue, 28 Aug 2001, Jeff Dairiki wrote: > > > (defun my-php-mode-hook-func () > > (c-set-mode "gnu") > > (setq tab-width 4 > > c-basic-offset 4 > > c-hanging-comment-ender-p nil > > indent-tabs-mode nil)) > > > > (add-hook 'php-mode-hook 'my-php-mode-hook-func) > > Success! Except for (c-set-mode "gnu") which causes the error: > > File mode specification error: (void-function c-set-mode) Wups. Try (c-set-style "gnu"). Jeff |