mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-04 22:50:59 -08:00
* src/xselect.c (Fx_register_dnd_atom): Use x_intern_cached_atom.
This commit is contained in:
parent
974a7e541c
commit
79d0b1a14c
1 changed files with 2 additions and 2 deletions
|
|
@ -2496,13 +2496,13 @@ FRAME is on. If FRAME is nil, the selected frame is used. */)
|
|||
ptrdiff_t i;
|
||||
struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f);
|
||||
|
||||
|
||||
if (SYMBOLP (atom))
|
||||
x_atom = symbol_to_x_atom (dpyinfo, atom);
|
||||
else if (STRINGP (atom))
|
||||
{
|
||||
block_input ();
|
||||
x_atom = XInternAtom (FRAME_X_DISPLAY (f), SSDATA (atom), False);
|
||||
x_atom = x_intern_cached_atom (dpyinfo, SSDATA (atom),
|
||||
false);
|
||||
unblock_input ();
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue