Function: CBUFFER-ADJUST-MIN-SIZE

Documentation

WARNING: size must be smaller then length!!! use cbuffer-ensure-size before using cbuffer-adjust-min-size for example

Source

(defun cbuffer-adjust-min-size (buf size)
  "WARNING: size must be smaller then length!!!
            use cbuffer-ensure-size before using cbuffer-adjust-min-size 
            for example"
  (if (> size (cbuffer-size buf))
      (setf (cbuffer-size buf) size)))
Source Context