Function: vi-string-end-with-nl-p

vi-string-end-with-nl-p is a byte-compiled function defined in vi.el.gz.

Signature

(vi-string-end-with-nl-p STRING)

Documentation

See if STRING ends with a newline char.

Used in checking whether the yanked text should be put back as lines or not.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/vi.el.gz
(defun vi-string-end-with-nl-p (string)
  "See if STRING ends with a newline char.
Used in checking whether the yanked text should be put back as lines or not."
  (= (aref string (1- (length string))) ?\n))