GNU bug report logs - #78952
Bug or feature? intern-soft return non-exists symbol

Previous Next

Package: emacs;

Reported by: Lin Sun <sunlin7 <at> hotmail.com>

Date: Fri, 4 Jul 2025 04:28:03 UTC

Severity: normal

Tags: notabug

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


View this message in rfc822 format

From: Lin Sun <sunlin7 <at> hotmail.com>
To: 78952 <at> debbugs.gnu.org
Subject: bug#78952: Bug or feature? intern-soft return non-exists symbol
Date: Fri, 4 Jul 2025 04:22:38 +0000
Hi, get confused intern-soft return a symbol which already unbound, 

Here are the lines to make a symbol then makunbound the symbol, but after that the intern-soft still return the symbol:

(setq a-test-variable-unbound-later t)

(intern-soft "a-test-variable-unbound-later")

(makunbound 'a-test-variable-unbound-later)

(boundp 'a-test-variable-unbound-later)

(intern-soft "a-test-variable-unbound-later") ;; why not nil?

It's a feature or a bug? Thanks



This bug report was last modified 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.