* Why not make show-paren-data-function buffer-local?
@ 2015-10-15 20:17 Marcin Borkowski
2015-10-15 21:14 ` John Wiegley
0 siblings, 1 reply; 2+ messages in thread
From: Marcin Borkowski @ 2015-10-15 20:17 UTC (permalink / raw)
To: Emacs development discussions
Hi all,
in one of my packages, I need to
(make-variable-buffer-local 'show-paren-data-function)
since it is not already done in paren.el.
As this variable may be language-dependent, I guess that it doesn't make
sense for it to be global.
WDYT?
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Why not make show-paren-data-function buffer-local?
2015-10-15 20:17 Why not make show-paren-data-function buffer-local? Marcin Borkowski
@ 2015-10-15 21:14 ` John Wiegley
0 siblings, 0 replies; 2+ messages in thread
From: John Wiegley @ 2015-10-15 21:14 UTC (permalink / raw)
To: Marcin Borkowski; +Cc: Emacs development discussions
>>>>> Marcin Borkowski <mbork@mbork.pl> writes:
> in one of my packages, I need to
> (make-variable-buffer-local 'show-paren-data-function)
> since it is not already done in paren.el.
>
> As this variable may be language-dependent, I guess that it doesn't make
> sense for it to be global.
I agree, unless others have a reason why this is the case.
John
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-15 21:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-15 20:17 Why not make show-paren-data-function buffer-local? Marcin Borkowski
2015-10-15 21:14 ` John Wiegley
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).