From e5f83606505b140f4797fb244141d41c5281f842 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 29 Oct 2014 01:39:20 -0400 Subject: Add prefix to unfill-paragraph --- lisp/init-editing.el | 2 +- lisp/init-text.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp') diff --git a/lisp/init-editing.el b/lisp/init-editing.el index c24c32a..6a5a72f 100644 --- a/lisp/init-editing.el +++ b/lisp/init-editing.el @@ -30,7 +30,7 @@ (define-key ctl-x-4-map "np" 'ni-narrow-to-page-indirect-other-window) ;; http://www.emacswiki.org/emacs/UnfillParagraph -(defun unfill-paragraph () +(defun km/unfill-paragraph () "Takes a multi-line paragraph and makes it into a single line of text." (interactive) (let ((fill-column (point-max))) diff --git a/lisp/init-text.el b/lisp/init-text.el index ecd4831..d1509f1 100644 --- a/lisp/init-text.el +++ b/lisp/init-text.el @@ -26,7 +26,7 @@ is non-nil, the region is copied with `x-select-text'." (while (not (eobp)) (forward-paragraph) (forward-line -1) - (unfill-paragraph) + (km/unfill-paragraph) (forward-line 1)) (when arg (x-select-text (buffer-substring-no-properties (point-min) (point-max)))))) -- cgit v1.2.3