this command is called interactively; silence the byte-compiler.
+2002-06-14 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * wl-draft.el (wl-draft-beginning-of-line): Set zmacs-region-stays
+ only when this command is called interactively; silence the byte-
+ compiler.
+
2002-06-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
* wl-draft.el (wl-draft-beginning-of-line): Keep the region
(defun wl-draft-beginning-of-line (&optional n)
"Move point to beginning of header value or to beginning of line."
(interactive "p")
- (when (boundp 'zmacs-region-stays)
- (setq zmacs-region-stays t))
+ (let ((zrs 'zmacs-region-stays))
+ (when (and (interactive-p) (boundp zrs))
+ (set zrs t)))
(if (wl-draft-point-in-header-p)
(let* ((here (point))
(bol (progn (beginning-of-line n) (point)))