all messages for Emacs-related lists mirrored at yhetil.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.