Function: ebnf-push-style

ebnf-push-style is an autoloaded, interactive and byte-compiled function defined in ebnf2ps.el.gz.

Signature

(ebnf-push-style &optional STYLE)

Documentation

Push the current style onto a stack and set STYLE as the current style.

Returns the old style symbol.

See also ebnf-pop-style.

See ebnf-style-database documentation.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/ebnf2ps.el.gz
;;;###autoload
(defun ebnf-push-style (&optional style)
  "Push the current style onto a stack and set STYLE as the current style.

Returns the old style symbol.

See also `ebnf-pop-style'.

See `ebnf-style-database' documentation."
  (interactive "SPush style: ")
  (prog1
      ebnf-current-style
    (setq ebnf-stack-style (cons ebnf-current-style ebnf-stack-style))
    (and style
	 (ebnf-apply-style style))))