There is a special macro with-silent-modifications intended for temporary changes in a buffer. It takes into account such things as buffer-undo-list, deactivate-mark, buffer-file-name, buffer-file-truename, and so on. The buffer file name, for example, needs to be rebound to nil since otherwise Emacs will check changes in file and will ask for confirmation before doing the modifications if the changes have been found. T. V. Raman wrote: > Thanks for spotting that. The fix actually belonged in macro > ems-set-personality-temporarily -- it's checked in now. -- With best regards Dmitri Paduchikh ----------------------------------------------------------------------------- To unsubscribe from the emacspeak list or change your address on the emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a subject of "unsubscribe" or "help".
If you have questions about this archive or had problems using it, please send mail to:
priestdo@xxxxxxxxxxx No Soliciting!Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998