help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: perl mode


From: Damien Wyart
Subject: Re: perl mode
Date: Wed, 02 Oct 2013 19:14:43 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50

* Philippe Delavalade <philippe.delavalade@orange.fr> in gnu.emacs.help:
> So I add the following line, based on the manual
> (setq cperl-default-style "C++")

> I have no error or warning when entering emacs but it does not work.

You should use something like this:

(add-hook 'cperl-mode-hook (lambda() (cperl-set-style "C++")))

-- 
DW


reply via email to

[Prev in Thread] Current Thread [Next in Thread]