Function: kvspec:lines-to-show

kvspec:lines-to-show is a byte-compiled function defined in kvspec.el.

Signature

(kvspec:lines-to-show)

Documentation

Show a set number of lines per cell according to kvspec:current.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kvspec.el
(defun kvspec:lines-to-show ()
  "Show a set number of lines per cell according to `kvspec:current'."
  ;; "c" or no "c" means use value of kview:default-lines-to-show.
  ;; "c0" means show all lines.
  (if (and (string-match "c\\([0-9]+\\)?" kvspec:current)
	   (match-beginning 1))
      (kvspec:show-lines-per-cell
       (string-to-number (match-string 1 kvspec:current)))
    (kvspec:show-lines-per-cell kview:default-lines-to-show)))