bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48666: Leaks are still possible in hook--depth-alist


From: jakanakaevangeli
Subject: bug#48666: Leaks are still possible in hook--depth-alist
Date: Wed, 26 May 2021 10:57:47 +0200

    (with-temp-buffer
      (add-hook 'post-command-hook (make-symbol "fun-sym") 77 t))
    (get 'post-command-hook 'hook--depth-alist)

Perhaps hook--depth-alist could be a hash table with weak keys.

Best regards.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]