]> git.eshelyaron.com Git - emacs.git/commit
Replace some calls to `intern' with DEFSYMs
authorPo Lu <luangruo@yahoo.com>
Tue, 8 Apr 2025 02:26:18 +0000 (10:26 +0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 8 Apr 2025 05:50:24 +0000 (07:50 +0200)
commite14befb2d6a239cec4b58fc2467a317238263484
tree0b6d7cd078fd9c94ed9b69f0d535e37b1f99df60
parent1ba555c056ea83ab708552e66015231ba47dc95d
Replace some calls to `intern' with DEFSYMs

* src/filelock.c (lock_file, unlock_file_handle_error): Call
constant symbols rather than interning them all the time.
(syms_of_filelock): New symbols Qask_user_about_lock,
Quserlock__handle_unlock_error, and
Quserlock__ask_user_about_supersession_threat.

(cherry picked from commit b392038560736d4413bc1b31671a9aa826ff873e)
src/filelock.c