summaryrefslogtreecommitdiff
path: root/lisp/jit-lock.el
Commit message (Collapse)AuthorAgeFilesLines
* Reduce use of (require 'cl).Stefan Monnier2012-07-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | * admin/bzrmerge.el: Use cl-lib. * leim/quail/hangul.el: Don't require CL. * leim/quail/ipa.el: Use cl-lib. * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el: * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el: * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el: * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el: * international/quail.el, info-xref.el, imenu.el, image-mode.el: * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el: * battery.el, avoid.el, abbrev.el: Use cl-lib. * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el: * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el: * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el: * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el: * calculator.el, autorevert.el, apropos.el: Don't require CL. * emacs-bytecomp.el (byte-recompile-directory, display-call-tree) (byte-compile-unfold-bcf, byte-compile-check-variable): * emacs-byte-opt.el (byte-compile-trueconstp) (byte-compile-nilconstp): * emacs-autoload.el (make-autoload): Use pcase. * face-remap.el (text-scale-adjust): Simplify pcase patterns.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* Merge from emacs-23Stefan Monnier2011-01-141-1/+1
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | Use with-silent-modifications.Stefan Monnier2010-08-301-23/+3
| | | | | | | | | | | | | | | | * lisp/composite.el (save-buffer-state): Delete, unused. * lisp/font-lock.el (save-buffer-state): Use with-silent-modifications. (font-lock-default-fontify-region): Use with-syntax-table. * lisp/jit-lock.el (with-buffer-unmodified): Remove. (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
* | Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-291-0/+1
|/
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * jit-lock.el (jit-lock-stealth-chunk-start): Fix typo in docstring.Juanma Barranquero2009-04-141-1/+1
|
* (with-buffer-prepared-for-jit-lock): Swap the `let' andStefan Monnier2009-02-141-9/+11
| | | | the `with-buffer-unmodified' to avoid useless `readlink' calls.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* * align.el:Lute Kamstra2008-12-031-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allout.el: * apropos.el: * arc-mode.el: * autoinsert.el: * avoid.el: * battery.el: * bookmark.el: * buff-menu.el: * calculator.el: * chistory.el: * cmuscheme.el: * comint.el: * compare-w.el: * dabbrev.el: * delim-col.el: * desktop.el: * diff-mode.el: * diff.el: * dired-aux.el: * dired-x.el: * dired.el: * dos-vars.el: * ediff-diff.el: * ediff-help.el: * ediff-init.el: * ediff-merg.el: * ediff-mult.el: * ediff-ptch.el: * ediff-vers.el: * ediff-wind.el: * ediff.el: * emerge.el: * facemenu.el: * faces.el: * ffap.el: * filecache.el: * find-dired.el: * font-core.el: * font-lock.el: * forms.el: * fringe.el: * help-at-pt.el: * hippie-exp.el: * ido.el: * image-file.el: * imenu.el: * indent.el: * info.el: * isearchb.el: * iswitchb.el: * jit-lock.el: * jka-compr.el: * log-edit.el: * lpr.el: * ls-lisp.el: * man.el: * menu-bar.el: * midnight.el: * mouse-sel.el: * mouse.el: * msb.el: * outline.el: * paren.el: * pcmpl-cvs.el: * pcmpl-gnu.el: * pcomplete.el: * pcvs-info.el: * pcvs-parse.el: * printing.el: * ps-mule.el: * ps-print.el: * replace.el: * ruler-mode.el: * saveplace.el: * sb-image.el: * scroll-bar.el: * sha1.el: * shadowfile.el: * shell.el: * sort.el: * speedbar.el: * strokes.el: * tempo.el: * term.el: * terminal.el: * time-stamp.el: * time.el: * tree-widget.el: * type-break.el: * vc-cvs.el: * vc-hg.el: * vc-mcvs.el: * vc-rcs.el: * vc-sccs.el: * vc.el: * view.el: * w32-vars.el: * whitespace.el: * wid-edit.el: Remove leading * from docstrings of defcustoms, deffaces, defconsts and defuns.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* * NEWS (fontification): Mention that the new default forDavid Kastrup2007-03-041-2/+2
| | | | | | | jit-lock-stealth-time is now nil. * jit-lock.el (jit-lock-stealth-time): Change default to nil. Preserve 16 as default value for "seconds" when customizing.
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Paren typo.Stefan Monnier2006-09-261-1/+1
|
* (jit-lock-force-redisplay): Rename from jit-lock-fontify-again.Stefan Monnier2006-09-261-8/+8
| | | | Undo the mistaken change I've just done.
* (jit-lock-fontify-now): Don't fontify the empty text.Stefan Monnier2006-09-261-4/+6
| | | | (jit-lock-fontify-again): Don't refontify text that's not displayed.
* (jit-lock-fontify-again): New function.Kim F. Storm2006-09-141-9/+9
| | | | (jit-lock-fontify-now): Use it instead of lambda form.
* * emacs-lisp/timer.el (timer-set-idle-time, run-with-idle-timer):Chong Yidong2006-08-241-61/+56
| | | | | | | | | | | | Accept internal time format for SECS arg. (timer-relative-time): Doc fix. * jit-lock.el: "Stealth fontification by requeuing timers" patch, adapted from Martin Rudalics. (jit-lock-stealth-repeat-timer, jit-lock-stealth-buffers): New vars. (jit-lock-mode): Create jit-lock-stealth-repeat-timer. (jit-lock-stealth-fontify): Reschedule as a idle timer instead of using sit-for.
* (jit-lock-fontify-now): Protect the modified status of the right buffer.Stefan Monnier2006-08-171-7/+8
|
* (jit-lock-fontify-now): Preserve the buffer'sStefan Monnier2006-08-031-4/+10
| | | | modification status when forcing the second redisplay.
* (jit-lock-fontify-now): Cause a second redisplay if needed.Stefan Monnier2006-08-011-39/+47
| | | | | | (jit-lock-start, jit-lock-end): New dynamic scoped vars. (jit-lock-after-change-extend-region-functions): New hook. (jit-lock-after-change): Use it instead of hard-coding font-lock code.
* (jit-lock-function): Check for the actual defer-timer rather than justStefan Monnier2006-03-201-2/+2
| | | | | defer-time, in case defer-time has been changed but the timer isn't running yet. (jit-lock-deferred-fontify): Correspondingly let-bind defer-timer.
* * font-lock.el (font-lock-lines-before): Delete variable, subsumed byStefan Monnier2006-03-151-1/+1
| | | | | | | | the new extend-region feature. (font-lock-after-change-function): Update correspondingly. * jit-lock.el (jit-lock-after-change): Update correspondingly. * progmodes/grep.el (font-lock-lines-before): Don't disable. * modes.texi (Region to Fontify): Remove font-lock-lines-before.
* * font-core.el: New function/variableAlan Mackenzie2006-03-141-30/+38
| | | | | | | | | | | | font-lock-extend-region\(-function\)?. * font-lock.el (font-lock-after-change-function): Call font-lock-extend-region. Obey font-lock-lines-before. (font-lock-default-fontify-region): Remove reference to font-lock-lines-before. * jit-lock.el (jit-lock-after-change): Call font-lock-extend-region. Obey font-lock-lines-before.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (jit-lock-chunk-size): Doc fix.Eli Zaretskii2005-12-301-1/+3
|
* * loadup.el: Load emacs-lisp/syntax, font-lock and jit-lock soDan Nicolaescu2005-10-311-1/+0
| | | | | | | | | | | | | | that global-font-lock-mode can be enabled by default. * font-lock.el (font-lock-keywords, font-lock-mode-internal) (font-lock-add-keywords, font-lock-remove-keywords) (font-lock-fontify-buffer): Remove autoload cookies. * jit-lock.el (jit-lock-register): Likewise. * emacs-lisp/syntax.el (syntax-ppss): Likewise. * puresize.h (BASE_PURESIZE): Increment to 1170000.
* (jit-lock-function, jit-lock-stealth-fontify)Richard M. Stallman2005-10-291-30/+32
| | | | | (jit-lock-deferred-fontify, jit-lock-context-fontify) (jit-lock-after-change): Test memory-full.
* (jit-lock-fontify-now): Be careful not to skip multilineStefan Monnier2005-10-251-1/+6
| | | | regions when moving the jit-lock-context-unfontify-pos boundary.
* (jit-lock-fontify-now): Fix copy/paste mess up in last change.Stefan Monnier2005-10-171-3/+0
|
* (jit-lock-fontify-now): Move jit-lock-context-unfontify-pos.Stefan Monnier2005-10-171-1/+16
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (jit-lock-function, jit-lock-after-change): Do nothing if memory is full.Richard M. Stallman2005-05-291-2/+2
|
* Specify missing group (and type, if simple) in defcustom.Juanma Barranquero2005-05-191-2/+3
|
* (jit-lock-stealth-time): Change default value to 16.Eli Zaretskii2005-04-231-2/+2
| | | | (jit-lock-stealth-nice): Change default value to 0.5.
* (jit-lock-stealth-fontify): When calling sit-for,Richard M. Stallman2005-03-061-2/+9
| | | | make sure the current buffer is the expected one.
* * jit-lock.el (jit-lock): Remove links to removed Support ModesJuri Linkov2004-03-251-1/+0
| | | | Info node.
* (jit-lock-context-time, jit-lock-context-timer): New var.Stefan Monnier2004-01-301-26/+49
| | | | | | | | | (with-buffer-unmodified, with-buffer-prepared-for-jit-lock): Add edebug info. (jit-lock-mode): Setup/cancel the new timer. (jit-lock-context-fontify): New fun. Extracted from context fontification code of jit-lock-stealth-fontify. (jit-lock-stealth-fontify): Don't do context fontification any more.
* (jit-lock-stealth-fontify): Allow quit.Stefan Monnier2004-01-301-15/+20
| | | | | (jit-lock-fontify-now): Handle the `quit' case. (jit-lock-contextually): Rename from jit-lock-defer-contextually.
* (jit-lock): Move group declaration from font-lock.el.Stefan Monnier2004-01-261-25/+31
| | | | | (jit-lock-context-unfontify-pos): Rename from jit-lock-first-unfontify-pos. (jit-lock-defer-buffers): Rename from jit-lock-buffers.
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-13/+13
|
* (jit-lock-fontify-now): Don't widen.Stefan Monnier2002-10-011-38/+36
| | | | Let the jit-lock-functions do it if they want to.
* Modify a commented-out non-nil value of jit-lock-defer-time, toEli Zaretskii2001-11-251-1/+1
| | | | make it consistent with the lazy-lock-defer-time's default value.