[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/drupal-mode 9c618f003c 026/308: Set `ispell-local-dictiona
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/drupal-mode 9c618f003c 026/308: Set `ispell-local-dictionary' to `american'. |
Date: |
Tue, 25 Jan 2022 10:59:04 -0500 (EST) |
branch: elpa/drupal-mode
commit 9c618f003cb5e870934b65a039f39767f400714d
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>
Set `ispell-local-dictionary' to `american'.
When ispell is loaded `ispell-local-dictionary' is set to `american'
as Comments and names should use US English spelling (e.g., `color'
not `colour') according to http://drupal.org/coding-standards.
---
drupal-mode.el | 1 +
drupal/ispell.el | 21 +++++++++++++++++++++
2 files changed, 22 insertions(+)
diff --git a/drupal-mode.el b/drupal-mode.el
index 030b67a844..2e87826aa0 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -330,6 +330,7 @@ mode-hook, i.e.
;; Load support for various Emacs features if necessary.
(eval-after-load 'etags '(require 'drupal/etags))
(eval-after-load 'gtags '(require 'drupal/gtags))
+(eval-after-load 'ispell '(require 'drupal/ispell))
diff --git a/drupal/ispell.el b/drupal/ispell.el
new file mode 100644
index 0000000000..f06a0d64b2
--- /dev/null
+++ b/drupal/ispell.el
@@ -0,0 +1,21 @@
+;;; drupal/ispell.el --- Drupal-mode support for ispell
+
+;;; Commentary:
+
+;; Enable drupal-mode support for ispell.
+
+;;; Code:
+
+(defun drupal/ispell-enable ()
+ "Set `ispell-local-dictionary' to `american'.
+Comments and names should use US English spelling (e.g., `color'
+not `colour') according to http://drupal.org/coding-standards."
+ (setq ispell-local-dictionary "american"))
+
+(add-hook 'drupal-mode-hook 'drupal/ispell-enable)
+
+
+
+(provide 'drupal/ispell)
+
+;;; drupal/ispell.el ends here
- [nongnu] elpa/drupal-mode 4ee1668794 108/308: Added `web-mode.el' as a PHP file mode., (continued)
- [nongnu] elpa/drupal-mode 4ee1668794 108/308: Added `web-mode.el' as a PHP file mode., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode f57430af6f 142/308: Really no need to check for existence of phpcs command., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 6a75362ee1 014/308: docfix, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode e3bfd959f3 006/308: Use `info' instead of `info-display-manual'., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 1b58065d5d 013/308: Docfix., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 08498d39fa 016/308: Don't lookup documentation if no symbol-at-point., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 56a55ff9c8 019/308: Drush API search on master if version is y.x-dev., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 25dc7333d9 028/308: Added flymake-phpcs support., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 0a5c953312 029/308: flymake-phpcs will only be used in php-mode., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode e4c4c3d6e1 022/308: `drupal-delete-trailing-whitespace' made local var., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 9c618f003c 026/308: Set `ispell-local-dictionary' to `american'.,
ELPA Syncer <=
- [nongnu] elpa/drupal-mode abc074346f 035/308: Merge branch 'release/0.2.0' into develop, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode a0ef7e7fce 039/308: Fixed package name in install target., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 661e6bba48 040/308: Changed info about flymake-phpcs., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode ebb3c56e25 068/308: Discovers more module info and added module menu., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 587e0eb2ec 060/308: Added completion based on gtags., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode e96a1f70f4 066/308: Added support for "Drush utilities for Emacs users"., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 5386751a5d 069/308: Fixed module version in module menu., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 8fc32e7641 053/308: Made `drupal-detect-drupal-version' more reliable., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode ce7e9d2bf3 043/308: Various cleanup., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 00aae1e5e8 070/308: Added support for `web-mode'., ELPA Syncer, 2022/01/25