[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/calc/calc-misc.el [emacs-unicode-2]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/calc/calc-misc.el [emacs-unicode-2] |
Date: |
Wed, 27 Oct 2004 01:47:19 -0400 |
Index: emacs/lisp/calc/calc-misc.el
diff -c emacs/lisp/calc/calc-misc.el:1.10.4.2
emacs/lisp/calc/calc-misc.el:1.10.4.3
*** emacs/lisp/calc/calc-misc.el:1.10.4.2 Thu Oct 14 08:50:09 2004
--- emacs/lisp/calc/calc-misc.el Wed Oct 27 05:42:03 2004
***************
*** 130,138 ****
"Now using full screen for Calc"
"Now using partial screen for Calc"))))
! (defun calc-other-window ()
"Invoke the Calculator in another window."
! (interactive)
(if (memq major-mode '(calc-mode calc-trail-mode))
(progn
(other-window 1)
--- 130,138 ----
"Now using full screen for Calc"
"Now using partial screen for Calc"))))
! (defun calc-other-window (&optional interactive)
"Invoke the Calculator in another window."
! (interactive "p")
(if (memq major-mode '(calc-mode calc-trail-mode))
(progn
(other-window 1)
***************
*** 141,147 ****
(if (get-buffer-window "*Calculator*")
(calc-quit)
(let ((win (selected-window)))
! (calc nil win (interactive-p))))))
(defun another-calc ()
"Create another, independent Calculator buffer."
--- 141,147 ----
(if (get-buffer-window "*Calculator*")
(calc-quit)
(let ((win (selected-window)))
! (calc nil win interactive)))))
(defun another-calc ()
"Create another, independent Calculator buffer."