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

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

bug#1120: issues on (put 'insert-date 'delete-selection t)


From: Richard M. Stallman
Subject: bug#1120: issues on (put 'insert-date 'delete-selection t)
Date: Thu, 09 Oct 2008 15:00:21 -0400

    For elisp programers who wish to write extentions where the command's  
    behaviors change depending on whether user has delete-selection-mode  
    on, what should they do? Check for mark-active and delete-selection- 
    mode before any call to the insert function?

If you really want to make behavior depend on those variables,
you need to check them.  Whether you check them before or after
calling `insert' is up to you.

But that seems like a strange thing to do.






reply via email to

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