[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Toggle line length?
From: |
Drew Adams |
Subject: |
RE: Toggle line length? |
Date: |
Thu, 29 Jan 2015 10:39:06 -0800 (PST) |
> >> How can I make the line-length of the complete buffer to be 100
> >> please?
> >
> > Sorry, I don't know what you mean. What is "the line length of
> > the complete buffer"?
>
> I mean that the same line-length of 100 is seen throughout the whole
> buffer. Whilst other open buffers remain at 74.
`fill-column' affects the whole buffer.
I thought you wanted to change the _default_ value of `fill-column'
each time you toggle between 100 and 74, because you mentioned
`setq-default'.
But you can also use just `setq' in that code, to toggle the value
only for the current buffer.