unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Mark for refontification
@ 2010-04-06  0:47 Lennart Borgman
  2010-04-09  2:53 ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Lennart Borgman @ 2010-04-06  0:47 UTC (permalink / raw)
  To: Emacs-Devel devel

Just one of my usual complaints: Could we please include a function
for marking a region for refontification? (Something like the function
mumamo-mark-for-refontification perhaps.)

Please also move the definition of the defmacro save-buffer-state
outside of eval-when-compile so that it could be used in other places
than font-lock.el. (Would it be enough to change to eval-and-compile?)

;;;###autoload
(defun mumamo-mark-for-refontification (min max)
  "Mark region between MIN and MAX for refontification."
    (save-restriction
      (widen)
      ;;(mumamo-with-buffer-prepared-for-jit-lock
      (mumamo-save-buffer-state nil
        (put-text-property min max 'fontified nil)
        )))




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-04-10 15:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-06  0:47 Mark for refontification Lennart Borgman
2010-04-09  2:53 ` Stefan Monnier
2010-04-09  6:42   ` Lennart Borgman
2010-04-10  0:57     ` Stefan Monnier
2010-04-10  1:12       ` Lennart Borgman
2010-04-10 15:02         ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).