Search found 1 match

by acomber
Fri Aug 10, 2012 7:30 am
Forum: Emacs Lisp
Topic: What is the elisp idiom for do until end of buffer?
Replies: 1
Views: 7379

What is the elisp idiom for do until end of buffer?

I have this function which fails with newline processing (defun fmt-tbl () "format Word tables for wiki" (interactive) (goto-char (point-min)) (insert "{||-") (while (search-forward "\t") (delete-backward-char 1) (insert "|") ) (goto-char (point-min)) (while (search-forward "\n") (insert "|-") ) (go...