Function: sql-magic-go

sql-magic-go is an interactive and byte-compiled function defined in sql.el.gz.

Signature

(sql-magic-go ARG)

Documentation

Insert "o" and call comint-send-input.

sql-electric-stuff must be the symbol go.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/sql.el.gz
;;; Small functions

(defun sql-magic-go (arg)
  "Insert \"o\" and call `comint-send-input'.
`sql-electric-stuff' must be the symbol `go'."
  (interactive "P")
  (self-insert-command (prefix-numeric-value arg))
  (if (and (equal sql-electric-stuff 'go)
	   (save-excursion
	     (comint-bol nil)
	     (looking-at "go\\b")))
      (comint-send-input)))