help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [C-u M-q] -> unfill-paragraph


From: Scott Frazer
Subject: Re: [C-u M-q] -> unfill-paragraph
Date: Thu, 10 Nov 2011 14:00:14 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:5.0) Gecko/20110624 Thunderbird/5.0

On 11/10/11 12:29 PM, Tom Roche wrote:

Tom Roche Wed, 09 Nov 2011 16:15:00 -0500
$ emacs --version
GNU Emacs 23.3.1

on which M-q "runs the command fill-paragraph". Therefore ISTM
C-u M-q should run the command unfill-paragraph ... but it does not.

Try this:

(defun my-fill-paragraph (&optional arg)
  (interactive "P")
  (let ((fill-column (if arg (point-max) fill-column)))
    (fill-paragraph)))

(global-set-key (kbd "M-q") 'my-fill-paragraph)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]