diff options
| author | Lute Kamstra | 2005-05-26 16:43:37 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2005-05-26 16:43:37 +0000 |
| commit | 9a9691963ddcdcbe3aeba52c591b728b73e8796c (patch) | |
| tree | 820492d1c148476accdfb7b4eed4b002a76d3bc3 /lisp/progmodes/sql.el | |
| parent | 4b66bdf054026e8e07f935fe329497a03a3d3826 (diff) | |
| download | emacs-9a9691963ddcdcbe3aeba52c591b728b73e8796c.tar.gz emacs-9a9691963ddcdcbe3aeba52c591b728b73e8796c.zip | |
* progmodes/ada-mode.el (ada-mode):
* progmodes/antlr-mode.el (antlr-mode):
* progmodes/autoconf.el (autoconf-mode):
* progmodes/dcl-mode.el (dcl-mode):
* progmodes/delphi.el (delphi-mode):
* progmodes/ebrowse.el (ebrowse-tree-mode)
(ebrowse-electric-list-mode, ebrowse-member-mode)
(ebrowse-electric-position-mode):
* progmodes/f90.el (f90-mode):
* progmodes/fortran.el (fortran-mode):
* progmodes/icon.el (icon-mode):
* progmodes/idlw-help.el (idlwave-help-mode):
* progmodes/idlw-shell.el (idlwave-shell-mode):
* progmodes/idlwave.el (idlwave-mode):
* progmodes/inf-lisp.el (inferior-lisp-mode):
* progmodes/m4-mode.el (m4-mode):
* progmodes/meta-mode.el (metafont-mode, metapost-mode):
* progmodes/modula2.el (modula-2-mode):
* progmodes/octave-inf.el (inferior-octave-mode):
* progmodes/octave-mod.el (octave-mode):
* progmodes/pascal.el (pascal-mode):
* progmodes/sh-script.el (sh-mode):
* progmodes/sql.el (sql-mode, sql-interactive-mode):
* progmodes/vhdl-mode.el (vhdl-mode):
* progmodes/xscheme.el (scheme-interaction-mode): Use run-mode-hooks.
Diffstat (limited to 'lisp/progmodes/sql.el')
| -rw-r--r-- | lisp/progmodes/sql.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index 902cd920ead..add4493e5f8 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -2249,7 +2249,7 @@ you must tell Emacs. Here's how to do that in your `~/.emacs' file: | |||
| 2249 | (setq local-abbrev-table sql-mode-abbrev-table) | 2249 | (setq local-abbrev-table sql-mode-abbrev-table) |
| 2250 | (setq abbrev-all-caps 1) | 2250 | (setq abbrev-all-caps 1) |
| 2251 | ;; Run hook | 2251 | ;; Run hook |
| 2252 | (run-hooks 'sql-mode-hook) | 2252 | (run-mode-hooks 'sql-mode-hook) |
| 2253 | ;; Catch changes to sql-product and highlight accordingly | 2253 | ;; Catch changes to sql-product and highlight accordingly |
| 2254 | (sql-highlight-product) | 2254 | (sql-highlight-product) |
| 2255 | (add-hook 'hack-local-variables-hook 'sql-highlight-product t t)) | 2255 | (add-hook 'hack-local-variables-hook 'sql-highlight-product t t)) |
| @@ -2367,7 +2367,7 @@ you entered, right above the output it created. | |||
| 2367 | (make-local-variable 'sql-input-ring-separator) | 2367 | (make-local-variable 'sql-input-ring-separator) |
| 2368 | (make-local-variable 'sql-input-ring-file-name) | 2368 | (make-local-variable 'sql-input-ring-file-name) |
| 2369 | ;; Run hook. | 2369 | ;; Run hook. |
| 2370 | (run-hooks 'sql-interactive-mode-hook) | 2370 | (run-mode-hooks 'sql-interactive-mode-hook) |
| 2371 | ;; Set comint based on user overrides. | 2371 | ;; Set comint based on user overrides. |
| 2372 | (setq comint-prompt-regexp sql-prompt-regexp) | 2372 | (setq comint-prompt-regexp sql-prompt-regexp) |
| 2373 | (setq left-margin sql-prompt-length) | 2373 | (setq left-margin sql-prompt-length) |