[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] useless-if-before-free: Check for nullptr.
From: |
Collin Funk |
Subject: |
Re: [PATCH] useless-if-before-free: Check for nullptr. |
Date: |
Sun, 16 Jun 2024 21:11:14 -0700 |
User-agent: |
Mozilla Thunderbird |
Collin Funk wrote:
> -my $VERSION = '2022-01-27 18:51'; # UTC
> +my $VERSION = '2024-06-17 03:44'; # UTC
What is the point of time stamping the file? Reminds me of the old
SCCSID and RCSID stuff (which I have never used).
I mention it because in my emacs init file:
(setq enable-local-variables :safe)
Which avoids annoying prompts when entering directories with
'.dir-locals.el' files. However, I think the use of ':safe' prevents
the use of (eval ...) so I had to update it for the timestamp.
## eval: (add-hook 'before-save-hook 'time-stamp)
It looks like there is a way to deal with using 'safe-local-eval-forms'
but I wonder if these are really needed.
Collin