unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Minor problem with calc-quit
@ 2006-05-30 11:32 Slawomir Nowaczyk
  2006-05-30 12:55 ` Robert J. Chassell
  0 siblings, 1 reply; 4+ messages in thread
From: Slawomir Nowaczyk @ 2006-05-30 11:32 UTC (permalink / raw)


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
     ( slawomir.nowaczyk.847@student.lu.se )

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-05-30 23:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-30 11:32 Minor problem with calc-quit Slawomir Nowaczyk
2006-05-30 12:55 ` Robert J. Chassell
2006-05-30 22:51   ` Slawomir Nowaczyk
2006-05-30 23:19     ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).