help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: problems with save-excursion


From: bhenz
Subject: Re: problems with save-excursion
Date: Wed, 8 Mar 2006 18:00:18 -0500


I believe it's actually complaining about your usage of (interactive) without ARGS.

Bob



filcab@gmail.com
Sent by: help-gnu-emacs-bounces+bhenz=lexmark.com@gnu.org

03/08/2006 05:36 PM

       
        To:        help-gnu-emacs@gnu.org
        cc:        
        Subject:        problems with save-excursion



I have the following function:
(defun copy-line ()
  (interactive)
  (save-excursion
     (beginning-of-line)
     (set-mark-command)
     (end-of-line)
     (copy-region-as-kill)))

But it's not working...
It says:
save-excursion: Wrong number of arguments: #[(arg) ... (some trash)


Any clues?

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs



reply via email to

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