changeset 16957:9e1fac479bed

(set-fill-column): Print the old value too.
author Richard M. Stallman <rms@gnu.org>
date Sat, 01 Feb 1997 02:19:14 +0000
parents bfa27111d35b
children 78616adde908
files lisp/simple.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Sat Feb 01 01:39:11 1997 +0000
+++ b/lisp/simple.el	Sat Feb 01 02:19:14 1997 +0000
@@ -2494,13 +2494,14 @@
 Just \\[universal-argument] as argument means to use the current column."
   (interactive "P")
   (cond ((integerp arg)
+	 (message "Fill column set to %d (was %d)" arg fill-column)
 	 (setq fill-column arg))
 	((consp arg)
+	 (message "Fill column set to %d (was %d)" arg fill-column)
 	 (setq fill-column (current-column)))
 	;; Disallow missing argument; it's probably a typo for C-x C-f.
 	(t
-	 (error "set-fill-column requires an explicit argument")))
-  (message "fill-column set to %d" fill-column))
+	 (error "set-fill-column requires an explicit argument"))))
 
 (defvar comment-multi-line nil
   "*Non-nil means \\[indent-new-comment-line] should continue same comment