# HG changeset patch # User Richard M. Stallman # Date 864010370 0 # Node ID 86e95716af6d70c1b2c72dce57816e65d296a6f5 # Parent f5778138efc7ae5fa6258f3acc8315dfd20e4e13 (set-fill-column): Make the C-u case work. diff -r f5778138efc7 -r 86e95716af6d lisp/simple.el --- a/lisp/simple.el Mon May 19 02:45:30 1997 +0000 +++ b/lisp/simple.el Mon May 19 02:52:50 1997 +0000 @@ -2679,15 +2679,13 @@ "Set `fill-column' to specified argument. 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")))) + (if (consp arg) + (setq arg (current-column))) + (if (not (integerp arg)) + ;; Disallow missing argument; it's probably a typo for C-x C-f. + (error "set-fill-column requires an explicit argument") + (message "Fill column set to %d (was %d)" arg fill-column) + (setq fill-column arg))) (defcustom comment-multi-line nil "*Non-nil means \\[indent-new-comment-line] should continue same comment