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

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

Re: How to get rid of "MR" from the modeline?


From: Emanuel Berg
Subject: Re: How to get rid of "MR" from the modeline?
Date: Fri, 27 Feb 2015 01:42:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Sharon Kimble <address@hidden> writes:

> Somehow my agenda buffer is showing "MR" in the
> mode-line , where
>
>    '(:eval (if (buffer-modified-p) "M" "-"))
>    '(:eval (if buffer-read-only  "R" "-"))
>
> How do I get rid of it please?

I don't know the agenda buffer specifically, but from
where did you get the above code? - if it is the
`mode-line-format' then simply change the 'M' and 'R'
to whatever you like, or remove the entire line(s).

But perhaps that knowledge comes in handy sometimes?
(Even so, I wonder why not the standard * and % are
used?)

It may look like this:

    (setq-default mode-line-format
       `(" "
         (:eval ... )
         ... ))

So change and evaluate and changes should appear
instantly.

-- 
underground experts united


reply via email to

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