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

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

Re: Disable line numbers in *shell* mode


From: Felix Dietrich
Subject: Re: Disable line numbers in *shell* mode
Date: Thu, 12 Sep 2013 23:26:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Scott Kinney <skinney620@yahoo.com> writes:

> I have line numbers enabled and i like it
> except in *shell* mode.
>
> it just wastes real estate.
>
> any ideas on how to disable line numbers in *shell* mode only?

(add-hook 'shell-mode-hook (lambda ()
                                                         (linum-mode -1)))

Should hopefully do the trick.

--
Felix Dietrich


reply via email to

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