Function: previous-ifdef
previous-ifdef is an interactive and byte-compiled function defined in
hideif.el.gz.
Signature
(previous-ifdef &optional ARG)
Documentation
Move to the beginning of the previous #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 previous-ifdef (&optional arg)
"Move to the beginning of the previous #ifX, #else, or #endif.
With prefix argument N, do this that many times."
(interactive "p")
(or arg (setq arg 1))
(if (< arg 0) (next-ifdef (- arg))
(while (< 0 arg)
(setq arg (1- arg))
(let ((start (point)))
(hif-find-previous-relevant)
(if (= start (point))
(error "No previous #ifdefs, #elses, or #endifs"))))))