From f781cd3408b85b321ad5bc78945a7f44fc3ec751 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Mon, 17 Jun 2019 12:33:31 +0200 Subject: Update php-mode --- .emacs.d/lisp/php-face.el | 2 +- .emacs.d/lisp/php-mode.el | 50 ++++++++++++++++++++++---------------------- .emacs.d/lisp/php-project.el | 2 +- .emacs.d/lisp/php.el | 4 ++-- 4 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.emacs.d/lisp/php-face.el b/.emacs.d/lisp/php-face.el index a674dd4..75bdc81 100644 --- a/.emacs.d/lisp/php-face.el +++ b/.emacs.d/lisp/php-face.el @@ -4,7 +4,7 @@ ;; Author: USAMI Kenta ;; Created: 5 May 2019 -;; Version: 1.21.3 +;; Version: 1.21.4 ;; Keywords: faces, php ;; Homepage: https://github.com/emacs-php/php-mode ;; Package-Requires: ((emacs "24.3")) diff --git a/.emacs.d/lisp/php-mode.el b/.emacs.d/lisp/php-mode.el index 09d762b..a339e17 100644 --- a/.emacs.d/lisp/php-mode.el +++ b/.emacs.d/lisp/php-mode.el @@ -9,14 +9,14 @@ ;; Maintainer: USAMI Kenta ;; URL: https://github.com/emacs-php/php-mode ;; Keywords: languages php -;; Version: 1.21.3 +;; Version: 1.21.4 ;; Package-Requires: ((emacs "24.3") (cl-lib "0.5")) ;; License: GPL-3.0-or-later -(defconst php-mode-version-number "1.21.3" +(defconst php-mode-version-number "1.21.4" "PHP Mode version number.") -(defconst php-mode-modified "2019-05-25" +(defconst php-mode-modified "2019-05-29" "PHP Mode build date.") ;; This program is free software; you can redistribute it and/or modify @@ -34,32 +34,25 @@ ;;; Commentary: -;; PHP Mode is a major mode for editing PHP source code. It's an -;; extension of C mode; thus it inherits all C mode's navigation -;; functionality. But it colors according to the PHP grammar and -;; indents according to the PEAR coding guidelines. It also includes -;; a couple handy IDE-type features such as documentation search and a -;; source and class browser. +;; PHP Mode is a major mode for editing PHP script. It's an extension +;; of CC mode; thus it inherits all C mode's navigation functionality. +;; But it colors according to the PHP syntax and indents according to the +;; PSR-2 coding guidelines. It also includes a couple handy IDE-type +;; features such as documentation search and a source and class browser. -;; ## Usage +;; Please read the manual for setting items compatible with CC Mode. +;; https://www.gnu.org/software/emacs/manual/html_mono/ccmode.html -;; Put this file in your Emacs Lisp path (eg. site-lisp) and add to -;; your .emacs file: +;; This mode is designed for PHP scripts consisting of a single ;; Keywords: tools, files ;; URL: https://github.com/emacs-php/php-mode -;; Version: 1.21.3 +;; Version: 1.21.4 ;; Package-Requires: ((emacs "24.3") (cl-lib "0.5")) ;; License: GPL-3.0-or-later diff --git a/.emacs.d/lisp/php.el b/.emacs.d/lisp/php.el index 13f2cef..336c267 100644 --- a/.emacs.d/lisp/php.el +++ b/.emacs.d/lisp/php.el @@ -4,7 +4,7 @@ ;; Author: USAMI Kenta ;; Created: 5 Dec 2018 -;; Version: 1.21.3 +;; Version: 1.21.4 ;; Keywords: languages, php ;; Homepage: https://github.com/emacs-php/php-mode ;; Package-Requires: ((emacs "24.3") (cl-lib "0.5")) @@ -107,7 +107,7 @@ You can replace \"en\" with your ISO language code." (defcustom php-template-mode-alist `(("\\.blade" . ,php-blade-template-major-mode) - ("\\.phpt\\'" . ,(if (fboundp 'phpt-mode) 'phpt-mode php-html-template-major-mode)) + ("\\.phpt\\'" . ,(if (fboundp 'phpt-mode) 'phpt-mode php-default-major-mode)) ("\\.phtml\\'" . ,php-html-template-major-mode)) "Automatically use another MAJOR-MODE when open template file." :group 'php -- cgit v1.3