aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-02-01 02:19:14 +0000
committerRichard M. Stallman1997-02-01 02:19:14 +0000
commitcc39c00a020c486ed0acb1e064b2d9febcdfcd72 (patch)
tree85d6bb4a4bcde08107ae8055e0d1ca9b5834d705
parent1b65c684914d9d84dfa855479251cbcf385996db (diff)
downloademacs-cc39c00a020c486ed0acb1e064b2d9febcdfcd72.tar.gz
emacs-cc39c00a020c486ed0acb1e064b2d9febcdfcd72.zip
(set-fill-column): Print the old value too.
-rw-r--r--lisp/simple.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 3ab47f443cb..e12c520e5ca 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2494,13 +2494,14 @@ for `auto-fill-function' when turning Auto Fill mode on."
2494Just \\[universal-argument] as argument means to use the current column." 2494Just \\[universal-argument] as argument means to use the current column."
2495 (interactive "P") 2495 (interactive "P")
2496 (cond ((integerp arg) 2496 (cond ((integerp arg)
2497 (message "Fill column set to %d (was %d)" arg fill-column)
2497 (setq fill-column arg)) 2498 (setq fill-column arg))
2498 ((consp arg) 2499 ((consp arg)
2500 (message "Fill column set to %d (was %d)" arg fill-column)
2499 (setq fill-column (current-column))) 2501 (setq fill-column (current-column)))
2500 ;; Disallow missing argument; it's probably a typo for C-x C-f. 2502 ;; Disallow missing argument; it's probably a typo for C-x C-f.
2501 (t 2503 (t
2502 (error "set-fill-column requires an explicit argument"))) 2504 (error "set-fill-column requires an explicit argument"))))
2503 (message "fill-column set to %d" fill-column))
2504 2505
2505(defvar comment-multi-line nil 2506(defvar comment-multi-line nil
2506 "*Non-nil means \\[indent-new-comment-line] should continue same comment 2507 "*Non-nil means \\[indent-new-comment-line] should continue same comment