diff options
| author | Glenn Morris | 2014-02-10 16:43:01 -0500 |
|---|---|---|
| committer | Glenn Morris | 2014-02-10 16:43:01 -0500 |
| commit | bacb3380374de28c8ed982994ebe55b06d43294a (patch) | |
| tree | e527d9bcd6a26b77ab279e95ace1f364feee6e2e | |
| parent | 02328db965d8ffdaa67b0577a0763fc51092717c (diff) | |
| download | emacs-bacb3380374de28c8ed982994ebe55b06d43294a.tar.gz emacs-bacb3380374de28c8ed982994ebe55b06d43294a.zip | |
* lisp/jit-lock.el (jit-lock-force-redisplay): Doc fix.
Fixes: debbugs:14394
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/jit-lock.el | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 95d81345548..94c647b4b6f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-02-10 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394) | ||
| 4 | |||
| 1 | 2014-02-10 Eli Zaretskii <eliz@gnu.org> | 5 | 2014-02-10 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * w32-common-fns.el (x-get-selection): Doc fix. | 7 | * w32-common-fns.el (x-get-selection): Doc fix. |
diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el index 101bef053d0..34747568338 100644 --- a/lisp/jit-lock.el +++ b/lisp/jit-lock.el | |||
| @@ -419,7 +419,8 @@ Defaults to the whole buffer. END can be out of bounds." | |||
| 419 | (setq start (text-property-any next end 'fontified nil)))))))) | 419 | (setq start (text-property-any next end 'fontified nil)))))))) |
| 420 | 420 | ||
| 421 | (defun jit-lock-force-redisplay (start end) | 421 | (defun jit-lock-force-redisplay (start end) |
| 422 | "Force the display engine to re-render buffer BUF from START to END." | 422 | "Force the display engine to re-render START's buffer from START to END. |
| 423 | This applies to the buffer associated with marker START." | ||
| 423 | (when (marker-buffer start) | 424 | (when (marker-buffer start) |
| 424 | (with-current-buffer (marker-buffer start) | 425 | (with-current-buffer (marker-buffer start) |
| 425 | (with-buffer-prepared-for-jit-lock | 426 | (with-buffer-prepared-for-jit-lock |