diff options
Diffstat (limited to 'lisp/progmodes/sql.el')
| -rw-r--r-- | lisp/progmodes/sql.el | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index f3ecbe3fc3d..3d5abc4df62 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -268,9 +268,8 @@ | |||
| 268 | 268 | ||
| 269 | (defcustom sql-password "" | 269 | (defcustom sql-password "" |
| 270 | "Default password. | 270 | "Default password. |
| 271 | 271 | If you customize this, the value will be stored in your init | |
| 272 | Storing your password in a textfile such as ~/.emacs could be dangerous. | 272 | file. Since that is a plaintext file, this could be dangerous." |
| 273 | Customizing your password will store it in your ~/.emacs file." | ||
| 274 | :type 'string | 273 | :type 'string |
| 275 | :group 'SQL | 274 | :group 'SQL |
| 276 | :risky t) | 275 | :risky t) |
| @@ -1285,8 +1284,8 @@ Based on `comint-mode-map'.") | |||
| 1285 | ["List all objects" sql-list-all (sql-get-product-feature sql-product :list-all)] | 1284 | ["List all objects" sql-list-all (sql-get-product-feature sql-product :list-all)] |
| 1286 | ["List table details" sql-list-table (sql-get-product-feature sql-product :list-table)])) | 1285 | ["List table details" sql-list-table (sql-get-product-feature sql-product :list-table)])) |
| 1287 | 1286 | ||
| 1288 | ;; Abbreviations -- if you want more of them, define them in your | 1287 | ;; Abbreviations -- if you want more of them, define them in your init |
| 1289 | ;; ~/.emacs file. Abbrevs have to be enabled in your ~/.emacs, too. | 1288 | ;; file. Abbrevs have to be enabled in your init file, too. |
| 1290 | 1289 | ||
| 1291 | (defvar sql-mode-abbrev-table nil | 1290 | (defvar sql-mode-abbrev-table nil |
| 1292 | "Abbrev table used in `sql-mode' and `sql-interactive-mode'.") | 1291 | "Abbrev table used in `sql-mode' and `sql-interactive-mode'.") |
| @@ -3715,8 +3714,8 @@ For information on how to create multiple SQLi buffers, see | |||
| 3715 | `sql-interactive-mode'. | 3714 | `sql-interactive-mode'. |
| 3716 | 3715 | ||
| 3717 | Note that SQL doesn't have an escape character unless you specify | 3716 | Note that SQL doesn't have an escape character unless you specify |
| 3718 | one. If you specify backslash as escape character in SQL, | 3717 | one. If you specify backslash as escape character in SQL, you |
| 3719 | you must tell Emacs. Here's how to do that in your `~/.emacs' file: | 3718 | must tell Emacs. Here's how to do that in your init file: |
| 3720 | 3719 | ||
| 3721 | \(add-hook 'sql-mode-hook | 3720 | \(add-hook 'sql-mode-hook |
| 3722 | (lambda () | 3721 | (lambda () |
| @@ -3806,7 +3805,7 @@ cause the window to scroll to the end of the buffer. | |||
| 3806 | If you want to make SQL buffers limited in length, add the function | 3805 | If you want to make SQL buffers limited in length, add the function |
| 3807 | `comint-truncate-buffer' to `comint-output-filter-functions'. | 3806 | `comint-truncate-buffer' to `comint-output-filter-functions'. |
| 3808 | 3807 | ||
| 3809 | Here is an example for your .emacs file. It keeps the SQLi buffer a | 3808 | Here is an example for your init file. It keeps the SQLi buffer a |
| 3810 | certain length. | 3809 | certain length. |
| 3811 | 3810 | ||
| 3812 | \(add-hook 'sql-interactive-mode-hook | 3811 | \(add-hook 'sql-interactive-mode-hook |