diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2024-03-11 00:03:39 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2024-03-11 00:34:27 -0700 |
commit | 2d61ebb505977af4f9fd90f92a776599a73f8501 (patch) | |
tree | 3ac892ed33305f86f65444caed2dd56e3a41c298 /lisp/emacs-lisp/regexp-opt.el | |
parent | bbc53e0bcf3fe18e7c1cd51fb8719cf62b9f6c71 (diff) | |
download | emacs-2d61ebb505977af4f9fd90f92a776599a73f8501.tar.gz emacs-2d61ebb505977af4f9fd90f92a776599a73f8501.tar.bz2 emacs-2d61ebb505977af4f9fd90f92a776599a73f8501.zip |
Change bare-symbol back to match intent
Also, attempt to document the intent better.
Problem reported by Alan Mackenzie (Bug#69684).
* src/data.c (Fbare_symbol): Do not signal if the SYM is a symbol
with position and symbols-with-pos-enabled is nil. Instead,
ignore symbols-with-pos-enabled, as that was the intent.
* test/src/data-tests.el (data-tests-bare-symbol):
New test, to help prevent this bug from reoccurring.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions