Function: next-ifdef
next-ifdef is an interactive and byte-compiled function defined in
hideif.el.gz.
Signature
(next-ifdef &optional ARG)
Documentation
Move to the beginning of the next #ifX, #else, or #endif.
With prefix argument N, do this that many times.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/hideif.el.gz
(defun next-ifdef (&optional arg)
"Move to the beginning of the next #ifX, #else, or #endif.
With prefix argument N, do this that many times."
(interactive "p")
(or arg (setq arg 1))
(if (< arg 0) (previous-ifdef (- arg))
(while (< 0 arg)
(setq arg (1- arg))
(hif-find-next-relevant)
(when (eolp)
(beginning-of-line)
(error "No following #ifdefs, #elses, or #endifs")))))