# HG changeset patch # User Jay Belanger # Date 1098817584 0 # Node ID d9073880a6e41b1f4632c8d58401fede6e0ad994 # Parent a18ff071e6553158658715982383e9b61956b45a (calc-other-window): Use an extra argument instead of `interactive-p'. diff -r a18ff071e655 -r d9073880a6e4 lisp/calc/calc-misc.el --- a/lisp/calc/calc-misc.el Tue Oct 26 19:05:53 2004 +0000 +++ b/lisp/calc/calc-misc.el Tue Oct 26 19:06:24 2004 +0000 @@ -130,9 +130,9 @@ "Now using full screen for Calc" "Now using partial screen for Calc")))) -(defun calc-other-window () +(defun calc-other-window (&optional interactive) "Invoke the Calculator in another window." - (interactive) + (interactive "p") (if (memq major-mode '(calc-mode calc-trail-mode)) (progn (other-window 1) @@ -141,7 +141,7 @@ (if (get-buffer-window "*Calculator*") (calc-quit) (let ((win (selected-window))) - (calc nil win (interactive-p)))))) + (calc nil win interactive))))) (defun another-calc () "Create another, independent Calculator buffer."