emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Minor problem with calc-quit


From: Slawomir Nowaczyk
Subject: Minor problem with calc-quit
Date: Tue, 30 May 2006 13:32:23 +0200

Hello,

When quitting calc (using calc-quit, i.e. "q") I get an error:

setq: Wrong type argument: stringp, nil

The following patch makes the error go away, but I have no idea if
this is the right fix:

diff -c "c:/Emacs/lisp/calc/calc.el" "c:/temp/buffer-content-4808WrC"
*** c:/Emacs/lisp/calc/calc.el  Sun May 21 11:35:21 2006
--- c:/temp/buffer-content-4808WrC      Tue May 30 13:21:58 2006
***************
*** 1377,1383 ****
              (setq calc-window-height (- (window-height win) 2)))
          (progn
            (delete-windows-on buf)
!           (delete-windows-on kbuf))
          (bury-buffer buf)
          (bury-buffer calc-trail-buffer)
          (and kbuf (bury-buffer kbuf))))))
--- 1377,1383 ----
              (setq calc-window-height (- (window-height win) 2)))
          (progn
            (delete-windows-on buf)
!           (if kbuf (delete-windows-on kbuf)))
          (bury-buffer buf)
          (bury-buffer calc-trail-buffer)
          (and kbuf (bury-buffer kbuf))))))

Diff finished.  Tue May 30 13:21:59 2006

-- 
 Best wishes,
   Slawomir Nowaczyk
     ( address@hidden )

If at first you don't succeed, skydiving is not for you.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]