Function: c-down-conditional-with-else

c-down-conditional-with-else is an interactive and byte-compiled function defined in cc-cmds.el.gz.

Signature

(c-down-conditional-with-else COUNT)

Documentation

Move forward into the next preprocessor conditional, including "#else".

Just like c-down-conditional, except it also stops at "#else" directives.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-cmds.el.gz
(defun c-down-conditional-with-else (count)
  "Move forward into the next preprocessor conditional, including \"#else\".
Just like `c-down-conditional', except it also stops at \"#else\"
directives."
  (interactive "p")
  (let ((new-point (c-scan-conditionals count 1 t)))
    (push-mark)
    (goto-char new-point))
  (c-keep-region-active))