all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#66191: erc-ibuffer.el: suspicious use of hash-table-size
@ 2023-09-25  9:45 Mattias Engdegård
  2023-09-25 15:02 ` J.P.
       [not found] ` <87jzsez46m.fsf@neverwas.me>
  0 siblings, 2 replies; 3+ messages in thread
From: Mattias Engdegård @ 2023-09-25  9:45 UTC (permalink / raw)
  To: 66191; +Cc: J.P.

In erc-ibuffer.el:

(define-ibuffer-column
 erc-members (:name "Users")
  (if (and (eq major-mode 'erc-mode)
	   (boundp 'erc-channel-users)
	   (hash-table-p erc-channel-users)
	   (> (hash-table-size erc-channel-users) 0))
     (number-to-string (hash-table-size erc-channel-users))
    ""))

Perhaps I'm mistaken but shouldn't hash-table-size be hash-table-count here?






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-03  1:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-25  9:45 bug#66191: erc-ibuffer.el: suspicious use of hash-table-size Mattias Engdegård
2023-09-25 15:02 ` J.P.
     [not found] ` <87jzsez46m.fsf@neverwas.me>
2023-10-03  1:20   ` J.P.

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.