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

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

problems with save-excursion


From: filcab
Subject: problems with save-excursion
Date: 8 Mar 2006 14:36:37 -0800
User-agent: G2/0.2

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?



reply via email to

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