Function: sql-default-value
sql-default-value is a byte-compiled function defined in sql.el.gz.
Signature
(sql-default-value VAR)
Documentation
Fetch the value of a variable.
If the current buffer is in sql-interactive-mode, then fetch
the global value, otherwise use the buffer local value.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/sql.el.gz
(defun sql-default-value (var)
"Fetch the value of a variable.
If the current buffer is in `sql-interactive-mode', then fetch
the global value, otherwise use the buffer local value."
(if (derived-mode-p 'sql-interactive-mode)
(default-value var)
(buffer-local-value var (current-buffer))))