[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11711: 24.0.95; [PATCH] added imenu and which-func support to rst.el
From: |
Stefan Merten |
Subject: |
bug#11711: 24.0.95; [PATCH] added imenu and which-func support to rst.el |
Date: |
Mon, 18 Jun 2012 11:44:04 +0200 |
Hi StefanMo!
4 days ago Masatake YAMATO wrote:
> + ;; Which func
> + (when (and (boundp 'which-func-modes) (listp which-func-modes))
> + (add-to-list 'which-func-modes 'rst-mode))
This form changes the customizable variable `which-func-modes'. I
thought this is not a good idea. I thought customizable variables
should be changed by users alone.
However, in this case it seems useful. Although this might override a
customization by a user who explicitly *excluded* `rst-mode' from
`which-func-modes'.
What do you think?
Grüße
StefanMn
pgploYNUXqD2A.pgp
Description: PGP signature