branch: elpa/drupal-mode
commit efef28052919061d03cd3b25bc20bbb75d34ed3d
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
Fix some more drupal.org URL's
---
README.md | 4 ++--
drupal-mode.el | 16 ++++++++--------
drupal/emacs-drush.el | 6 +++---
drupal/flymake-phpcs.el | 4 ++--
drupal/ispell.el | 4 ++--
drupal/phpcs.el | 4 ++--
6 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/README.md b/README.md
index a1836575db..189ee7a272 100644
--- a/README.md
+++ b/README.md
@@ -50,7 +50,7 @@ It does this by:
#### Indentation
In php-mode code will be indented according to
-[Drupals coding standards](https://drupal.org/coding-standards). If not
+[Drupals coding standards](https://www.drupal.org/coding-standards). If not
it is considered a bug!
@@ -165,7 +165,7 @@ For this to work you need:
* [PHP CodeSniffer](https://pear.php.net/package/PHP_CodeSniffer)
* [flymake-phpcs.el](https://melpa.org/#/flymake-phpcs)
-* [Drupal Code Sniffer](https://drupal.org/project/drupalcs) rules
+* [Drupal Code Sniffer](https://www.drupal.org/project/drupalcs) rules
## Other takes on a Drupal mode
diff --git a/drupal-mode.el b/drupal-mode.el
index 2765b765a3..fd66cb0105 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -71,7 +71,7 @@ a single newline (\\n)."
(const :tag "Always" t)
(const :tag "Never" nil)
(const :tag "Ask" ask))
- :link '(url-link :tag "drupal.org"
"https://drupal.org/coding-standards#indenting")
+ :link '(url-link :tag "drupal.org" "https://www.drupal.org/coding-standards")
:group 'drupal)
@@ -92,7 +92,7 @@ whitespace at the end."
(const :tag "Always" always)
(const :tag "Default" default)
(const :tag "Never" never))
- :link '(url-link :tag "drupal.org"
"https://drupal.org/coding-standards#indenting")
+ :link '(url-link :tag "drupal.org" "https://www.drupal.org/coding-standards")
:group 'drupal)
@@ -338,8 +338,8 @@ function arguments.")
(c-special-indent-hook . c-gnu-impose-minimum)
)
"Drupal coding style.
-According to https://drupal.org/coding-standards#indenting."
- :link '(url-link :tag "drupal.org"
"https://drupal.org/coding-standards#indenting")
+According to https://www.drupal.org/coding-standards."
+ :link '(url-link :tag "drupal.org" "https://www.drupal.org/coding-standards")
:group 'drupal)
(c-add-style "drupal" drupal-style)
@@ -439,13 +439,13 @@ of the project)."
(define-key drupal-mode-map
[menu-bar drupal drupal-project drupal-project-bugs]
- '(menu-item "Bug reports" (lambda () (interactive) (browse-url (concat
"https://drupal.org/project/issues/" drupal-project "?categories=bug")))))
+ '(menu-item "Bug reports" (lambda () (interactive) (browse-url (concat
"https://www.drupal.org/project/issues/" drupal-project "?categories=bug")))))
(define-key drupal-mode-map
[menu-bar drupal drupal-project drupal-project-issues]
- '(menu-item "Issues" (lambda () (interactive) (browse-url (concat
"https://drupal.org/project/issues/" drupal-project "?categories=All")))))
+ '(menu-item "Issues" (lambda () (interactive) (browse-url (concat
"https://www.drupal.org/project/issues/" drupal-project "?categories=All")))))
(define-key drupal-mode-map
[menu-bar drupal drupal-project drupal-project-home]
- '(menu-item "Project page" (lambda () (interactive) (browse-url (concat
"https://drupal.org/project/" drupal-project)))))
+ '(menu-item "Project page" (lambda () (interactive) (browse-url (concat
"https://www.drupal.org/project/" drupal-project)))))
(define-key drupal-mode-map
[menu-bar drupal drupal-project drupal-project-separator]
'("--"))
@@ -460,7 +460,7 @@ of the project)."
(defun drupal-convert-line-ending ()
"Convert to unix style line ending.
-According to https://drupal.org/coding-standards#indenting you
+According to https://www.drupal.org/coding-standards you
should save your files with unix style end of line."
(when (and drupal-mode
drupal-convert-line-ending
diff --git a/drupal/emacs-drush.el b/drupal/emacs-drush.el
index ec5a30fab6..1a402f4c92 100644
--- a/drupal/emacs-drush.el
+++ b/drupal/emacs-drush.el
@@ -1,6 +1,6 @@
;;; drupal/emacs-drush.el --- Drupal-mode support for Drush utilities for
Emacs users
-;; Copyright (C) 2012, 2013, 2015 Arne Jørgensen
+;; Copyright (C) 2012, 2013, 2015, 2020 Arne Jørgensen
;; Author: Arne Jørgensen <[email protected]>
@@ -22,7 +22,7 @@
;;; Commentary:
;; You need to install `Drush utilities for Emacs users'
-;; <https://drupal.org/project/emacs_drush> for this to work.
+;; <https://www.drupal.org/project/emacs_drush> for this to work.
;; If `Drush utilities for Emacs users' is installed it will run
;; `drush etags' on `after-save-hook' if a TAGS file is present in
@@ -43,7 +43,7 @@ Requires `Drush utilities for Emacs users' to be installed."
:type `(choice
(const :tag "Yes" t)
(const :tag "No" nil))
- :link '(url-link :tag "Drush utilities for Emacs users"
"https://drupal.org/project/emacs_drush")
+ :link '(url-link :tag "Drush utilities for Emacs users"
"https://www.drupal.org/project/emacs_drush")
:group 'drupal)
(defun drupal/emacs-drush-run-after-save ()
diff --git a/drupal/flymake-phpcs.el b/drupal/flymake-phpcs.el
index 49b15c88a9..3217fefcf4 100644
--- a/drupal/flymake-phpcs.el
+++ b/drupal/flymake-phpcs.el
@@ -1,6 +1,6 @@
;;; drupal/flymake-phpcs.el --- Drupal-mode support for flymake-phpcs
-;; Copyright (C) 2012, 2013, 2014 Arne Jørgensen
+;; Copyright (C) 2012, 2013, 2014, 2020 Arne Jørgensen
;; Author: Arne Jørgensen <[email protected]>
@@ -57,7 +57,7 @@ file (and thus on the remote machine), or in the same place as
(const :tag "No" nil)
(const :tag "Auto" auto)
(const :tag "Default" default))
- :link '(url-link :tag "Drupal Coder Sniffer"
"https://drupal.org/project/coder")
+ :link '(url-link :tag "Drupal Coder Sniffer"
"https://www.drupal.org/project/coder")
:group 'drupal))
(defun drupal/flymake-phpcs-enable ()
diff --git a/drupal/ispell.el b/drupal/ispell.el
index 7f7ea05cca..9056d8b9e6 100644
--- a/drupal/ispell.el
+++ b/drupal/ispell.el
@@ -1,6 +1,6 @@
;;; drupal/ispell.el --- Drupal-mode support for ispell
-;; Copyright (C) 2012, 2013 Arne Jørgensen
+;; Copyright (C) 2012, 2013, 2020 Arne Jørgensen
;; Author: Arne Jørgensen <[email protected]>
@@ -30,7 +30,7 @@
(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 https://drupal.org/coding-standards."
+not `colour') according to https://www.drupal.org/coding-standards."
(when (member "american" (ispell-valid-dictionary-list))
(setq ispell-local-dictionary "american")))
diff --git a/drupal/phpcs.el b/drupal/phpcs.el
index 4dd4cbbb90..f8e190ed04 100644
--- a/drupal/phpcs.el
+++ b/drupal/phpcs.el
@@ -1,6 +1,6 @@
;;; drupal/phpcs.el --- Drupal-mode common support for flymake-phpcs and
flycheck
-;; Copyright (C) 2012, 2013, 2016 Arne Jørgensen
+;; Copyright (C) 2012, 2013, 2016, 2020 Arne Jørgensen
;; Author: Arne Jørgensen <[email protected]>
@@ -43,7 +43,7 @@ This can either be the name of an installed standard (to see
installed standards run `phpcs -i') or it can be the file name of
a standard. Adding file name requires PHP CodeSniffer version
1.3.4 or newer."
- :link '(url-link :tag "Drupal Coder Sniffer"
"https://drupal.org/node/1419980")
+ :link '(url-link :tag "Drupal Coder Sniffer"
"https://www.drupal.org/node/1419980")
:group 'drupal)