2001-07-28 09:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Sat, 28 Jul 2001 16:43:18 +0000 (16:43 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Sat, 28 Jul 2001 16:43:18 +0000 (16:43 +0000)
* message.el (message-fill-paragraph): Do nothing if the user
wants filladapt-mode.

lisp/ChangeLog
lisp/lpath.el
lisp/message.el

index 32c0eaa..f94bdb5 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-28 09:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * message.el (message-fill-paragraph): Do nothing if the user
+       wants filladapt-mode.
+
 2001-07-27 23:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * mm-decode.el (mm-image-type-from-buffer): New.
index a0d2a6c..5171603 100644 (file)
@@ -35,6 +35,7 @@
              adaptive-fill-regexp babel-history babel-translations
              default-enable-multibyte-characters
              display-time-mail-function imap-password mail-mode-hook
+             filladapt-mode
              mc-pgp-always-sign
              nnoo-definition-alist
              url-current-callback-func url-be-asynchronous
index d691ec9..eb33320 100644 (file)
@@ -1916,8 +1916,10 @@ Prefix arg means justify as well."
 (defun message-fill-paragraph (&optional arg)
   "Like `fill-paragraph'."
   (interactive (list (if current-prefix-arg 'full)))
-  (message-newline-and-reformat arg t)
-  t)
+  (if (and (boundp 'filladapt-mode) filladapt-mode)
+      nil
+    (message-newline-and-reformat arg t)
+    t))
 
 (defun message-insert-signature (&optional force)
   "Insert a signature.  See documentation for variable `message-signature'."