[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: suppressing copyright.el
From: |
Richard Stallman |
Subject: |
Re: suppressing copyright.el |
Date: |
Fri, 07 May 2004 21:21:25 -0400 |
Is it a better method to:
(1) copyright.el test whether (eq major-mode 'diff-mode)
or
(2) add a variable in copyright.el like `suppress-copyright-update', which
is make-variable-buffer-local and defaults to nil, and then change
diff-mode to set it to t
?
I'd guess the latter, but ...
Of the two, the latter seems cleaner to me. But I have another idea.
copyright.el could have a variable whose value is a list of major
modes to be inactive in. It could also turn off if the current major
mode is derived from any mode named in that list.
Re: extended rx.el, Richard Stallman, 2004/05/07