all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Slawomir Nowaczyk <slawomir.nowaczyk.847@student.lu.se>
Subject: Minor problem with calc-quit
Date: Tue, 30 May 2006 13:32:23 +0200	[thread overview]
Message-ID: <20060530132228.0798.SLAWOMIR.NOWACZYK.847@student.lu.se> (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.

             reply	other threads:[~2006-05-30 11:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-30 11:32 Slawomir Nowaczyk [this message]
2006-05-30 12:55 ` Minor problem with calc-quit Robert J. Chassell
2006-05-30 22:51   ` Slawomir Nowaczyk
2006-05-30 23:19     ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060530132228.0798.SLAWOMIR.NOWACZYK.847@student.lu.se \
    --to=slawomir.nowaczyk.847@student.lu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.