Function: vip-end-with-a-newline-p

vip-end-with-a-newline-p is a byte-compiled function defined in vip.el.gz.

Signature

(vip-end-with-a-newline-p STRING)

Documentation

Check if the string ends with a newline.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/vip.el.gz
(defun vip-end-with-a-newline-p (string)
  "Check if the string ends with a newline."
  (or (string= string "")
      (= (aref string (1- (length string))) ?\n)))