Function: c-backward-over-lambda-expression

c-backward-over-lambda-expression is a byte-compiled function defined in cc-engine.el.gz.

Signature

(c-backward-over-lambda-expression &optional LIM)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-engine.el.gz
(defun c-backward-over-lambda-expression (&optional lim)
  ;; Point is at a {.  Move back over the lambda expression this is a part of,
  ;; stopping at the [ of the capture list, if this is the case, returning
  ;; the position of that opening bracket.  If we're not at such a list, leave
  ;; point unchanged and return nil.
  (let ((here (point)))
    (c-syntactic-skip-backward "^;}]" lim t)
    (if (and (eq (char-before) ?\])
	     (c-go-list-backward nil lim)
	     (eq (c-looking-at-c++-lambda-expression (1+ here))
		 here))
	(point)
      (goto-char here)
      nil)))