> I do this a lot (what a dare-devil),
> and note a handful of usages in Emacs.
> Maybe it can go in files.el?

> (defun inhibit-backup-locally ()
>   "Make `backup-inhibited' buffer-local and set it to t."
>   (set (make-local-variable 'backup-inhibited) t))

I don't see what is the benefit of writing

  (inhibit-backup-locally)
over
  (set (make-local-variable 'backup-inhibited) t)

tho I do feel like we should maybe introduce a new macro so that you can
write:

  (setq-local backup-inhibited t)


-- Stefan
_______________________________________________
gnu-emacs-sources mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to