all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Turn off auto-indent in perl-mode
@ 2012-12-25  1:14 Richard H Lee
  2012-12-25  1:31 ` Richard H Lee
  0 siblings, 1 reply; 2+ messages in thread
From: Richard H Lee @ 2012-12-25  1:14 UTC (permalink / raw)
  To: help-gnu-emacs

How do I turn off auto-indent in perl-mode (as I would like to use my 
own existing indentation scheme)?

In c-mode I could use C-c C-l to turn of electric mode. But I'm 
wondering what the equivalent is in perl-mode?

I get the feeling it's to do with perl-mode-map. But I'm not so sure how 
to go about it.


Richard



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Turn off auto-indent in perl-mode
  2012-12-25  1:14 Turn off auto-indent in perl-mode Richard H Lee
@ 2012-12-25  1:31 ` Richard H Lee
  0 siblings, 0 replies; 2+ messages in thread
From: Richard H Lee @ 2012-12-25  1:31 UTC (permalink / raw)
  To: help-gnu-emacs

Running (setq perl-mode-map (make-sparse-keymap)) in scratch and then 
reloading perl-mode did it for me.

Originally I was trying to run M-x set-variable perl-mode-map, but I 
didn't realise that perl-mode-map was not a user option.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-25  1:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-25  1:14 Turn off auto-indent in perl-mode Richard H Lee
2012-12-25  1:31 ` Richard H Lee

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.