How to check if a pool is empty? Checking that count-lines gives 0 is an overkill for this, I think.
count-lines
UPDATE: Yes, phils answer should work. Write down:
(defun buffer-empty-p (&optional buffer) (= (buffer-size buffer) 0))
buffer-size is a built-in function in `C source code'. (buffer-size &optional BUFFER) Return the number of characters in the current buffer. If BUFFER, return the number of characters in that buffer instead.
Source: https://habr.com/ru/post/952023/More articles:Is the Entity Framework a complex type of multiple instances in the same model? - c #Can we trick $ _SERVER ['REMOTE_ADDR'] / user ip with php cURL? - phpSKPayments Full transaction called twice - iphonefill_between gives "ValueError: argument sizes are incompatible" - python-2.7Java class name as annotation attribute - javaHow to extract MediaStream from blob url? - javascriptExtAudioFileRead on iOS with error code -50 - iosUnmanaged Model Dampada - djangoAnchor or button - htmlFind the most common subtype of the two Scala types - scalaAll Articles