Function: window-point-context-set-default-function
window-point-context-set-default-function is a byte-compiled function
defined in window.el.gz.
Signature
(window-point-context-set-default-function W)
Documentation
Set context of file buffers to the front and rear strings.
Source Code
;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun window-point-context-set-default-function (w)
"Set context of file buffers to the front and rear strings."
(with-current-buffer (window-buffer w)
(when buffer-file-name
(let ((point (window-point w)))
`((front-context-string
. ,(buffer-substring-no-properties
point (min (+ point 16) (point-max))))
(rear-context-string
. ,(buffer-substring-no-properties
point (max (- point 16) (point-min)))))))))