我无法让我的 Aquamacs 2.4 (Emacs) 遵循 Kohana 风格:
php 模式下的 Emacs 用空格替换制表符。我想禁用它并使用制表符作为缩进。
我尝试了很多这样的解决方案,但没有一个对我有用:
(require 'php-mode)
(setq php-mode-force-pear t)
(add-hook 'php-mode-hook
'(lambda ()
(setq indent-tabs-mode t)
(setq tab-width 4)
(setq c-basic-offset 4)))
任何帮助表示赞赏。
谢谢,大卫