Lines Matching +defs:before +defs:string
71 "A string to display when showing hard newlines.
74 :type 'string)
111 (add-hook 'before-revert-hook 'longlines-before-revert-hook nil t)
115 (add-to-list 'buffer-substring-filters 'longlines-encode-string)
171 (remove-hook 'before-revert-hook 'longlines-before-revert-hook t)
224 "Wrap each successive line, starting with the line before BEG.
243 (progn (insert-before-markers ?\n)
261 (insert-before-markers-and-inherit ?\s)
354 (defun longlines-encode-string (string)
357 (let* ((str (copy-sequence string))
358 (pos (string-match "\n" str)))
362 (setq pos (string-match "\n" str (1+ pos))))
433 (defun longlines-search-forward (string &optional bound noerror count)
435 (re-search-forward (regexp-quote string) bound noerror count)))
437 (defun longlines-search-backward (string &optional bound noerror count)
439 (re-search-backward (regexp-quote string) bound noerror count)))
443 (defun longlines-before-revert-hook ()