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

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

Re: leaving the region highlighted after a command


From: Johan Bockgård
Subject: Re: leaving the region highlighted after a command
Date: Sun, 10 Jun 2007 12:15:46 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1.50 (gnu/linux)

Jonathan Swartz <swartz@pobox.com> writes:

> But if I simply call mark-whole- buffer from another function or
> copy its code verbatim to another function, the new other functions
> do NOT leave the region highlighted:
>
>    ;; No highlighting
>    (defun mb ()
>      (interactive)
>      (mark-whole-buffer))

Works for me.

-- 
Johan Bockgård


reply via email to

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