all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arni Magnusson <arnima@hafro.is>
To: bug-gnu-emacs@gnu.org
Subject: bug#2213: (Non)optional arg in kill-whole-line
Date: Thu, 5 Feb 2009 18:02:02 +0000 (GMT)	[thread overview]
Message-ID: <alpine.LFD.0.9999.0902051700000.26065@localhost.localdomain> (raw)

Hi there,

I am using the 'kill-whole-line' function from the 'simple' library, 
noninteractively. According to the function definition and documentation, 
the 'arg' is supposed to be optional, so I was expecting

   (kill-whole-line)

to work, but it crashes with the message:

   Wrong type argument: number-or-marker-p, nil

My current workaround is to use (kill-whole-line 1). I have tested this in 
GNU Emacs 22.3.1.

Thanks,

Arni







             reply	other threads:[~2009-02-05 18:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <h47i437a0a.fsf@fencepost.gnu.org>
2009-02-05 18:02 ` Arni Magnusson [this message]
2009-02-06 17:35   ` bug#2213: marked as done ((Non)optional arg in kill-whole-line) Emacs bug Tracking System

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=alpine.LFD.0.9999.0902051700000.26065@localhost.localdomain \
    --to=arnima@hafro.is \
    --cc=2213@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /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.