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