Function: c-skip-ws-chars-backward

c-skip-ws-chars-backward is a macro defined in cc-defs.el.gz.

Signature

(c-skip-ws-chars-backward STRING &optional LIM)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-defs.el.gz
(defmacro c-skip-ws-chars-backward (string &optional lim)
  ;; Move point backward, stopping after a char which isn't in STRING, or a
  ;; char whose syntax isn't whitespace or comment-end, or at pos LIM.  Note
  ;; that \n usually has comment-end syntax.
  ;;
  ;; Returns the distance traveled, either zero or negative.
  (declare (debug t))
  `(let ((-lim- ,lim)
	 (here (point))
	 count)
     (setq count (skip-chars-backward ,string -lim-))
     (when (< count 0)
       (goto-char here)
       (setq count (skip-syntax-backward " >" (+ here count))))
     count))