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

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

Re: Disable automatic Perl indentation


From: Kai Großjohann
Subject: Re: Disable automatic Perl indentation
Date: Thu, 06 Feb 2003 17:13:00 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 (i686-pc-linux-gnu)

Joel Konkle-Parker <j.j.konkle-parker@larc.nasa.gov> writes:

>> What does C-h k ; say in such a Perl buffer?
>
> -----------
>
> ; runs the command electric-perl-terminator:
>
> Insert character and adjust indentation.
> If at end-of-line, and not in a comment or a quote, correct the's
> indentation.
> -----------
>
> What now?

You could do

(require 'perl-mode)
(define-key perl-mode-map (kbd ";") 'self-insert-command)

Does it work?
-- 
A turnip curses Elvis


reply via email to

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