Function: ffap-string-around

ffap-string-around is a byte-compiled function defined in ffap.el.gz.

Signature

(ffap-string-around)

Documentation

Return string of two chars around last result of function ffap-string-at-point(var)/ffap-string-at-point(fun). Assumes the buffer has not changed.

Source Code

;; Defined in /usr/src/emacs/lisp/ffap.el.gz
(defun ffap-string-around ()
  ;; Sometimes useful to decide how to treat a string.
  "Return string of two chars around last result of function
`ffap-string-at-point'.
Assumes the buffer has not changed."
  (save-excursion
    (format "%c%c"
	    (progn
	      (goto-char (car ffap-string-at-point-region))
	      (preceding-char))		; maybe 0
	    (progn
	      (goto-char (nth 1 ffap-string-at-point-region))
	      (following-char))		; maybe 0
	    )))