changeset 47696:6e1c8f17ab33

(calc-save-modes): Remove `quiet' arg; Don't bind `executing-kbd-macro'.
author Colin Walters <walters@gnu.org>
date Mon, 30 Sep 2002 04:25:15 +0000
parents 37adf7fffb23
children 34ce7f0515d0
files lisp/calc/calc-mode.el
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc-mode.el	Mon Sep 30 04:24:40 2002 +0000
+++ b/lisp/calc/calc-mode.el	Mon Sep 30 04:25:15 2002 +0000
@@ -267,7 +267,7 @@
 
 ;;; Mode commands.
 
-(defun calc-save-modes (&optional quiet)
+(defun calc-save-modes ()
   (interactive)
   (calc-wrapper
    (let (pos
@@ -308,11 +308,7 @@
 	       vals (cdr vals))))
      (run-hooks 'calc-mode-save-hook)
      (insert ";;; End of mode settings\n")
-     (if quiet
-	 ;; FIXME: why is this here? -cgw 2001.11.12
-	 (let ((executing-kbd-macro ""))   ; what a kludge!
-	   (save-buffer))
-       (save-buffer)))))
+     (save-buffer))))
 
 (defun calc-settings-file-name (name &optional arg)
   (interactive