All pastes #74358 Raw Edit

pjb

public text v1 · immutable
#74358 ·published 2006-06-28 22:51 UTC
rendered paste body
(defun append-char (start end string)
  "Append character(s) at the end of region"
  (interactive "r\nsChar to insert: ")
  (save-excursion
    (goto-char start)
    (while (and (<= (point) end) (re-search-forward "$" (1+ end) nil))
      (insert string)
      (forward-char 1))))