emacs-pretest-bug
[Top][All Lists]
Advanced

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

suppressing copyright.el


From: Miles Bader
Subject: suppressing copyright.el
Date: Thu, 6 May 2004 19:08:04 -0400
User-agent: Mutt/1.3.28i

On Thu, May 06, 2004 at 05:35:30PM -0400, Stefan Monnier wrote:
> > what copyright.el does,
> 
> In what way exactly?
> [ Note: I've changed the code since Emacs-21.1. ]

BTW, I'd like to change copyright.el to _not_ do anything with patches/diffs
(as these often contain copyright strings, which you almost certainly do
_not_ want to update -- in fact the problem is usually the `before' half of
just such an update!).

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 ...

Thanks,

-Miles
-- 
"Unless there are slaves to do the ugly, horrible, uninteresting work, culture
and contemplation become almost impossible. Human slavery is wrong, insecure,
and demoralizing.  On mechanical slavery, on the slavery of the machine, the
future of the world depends." -Oscar Wilde, "The Soul of Man Under Socialism"




reply via email to

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