diff options
| author | Simeon Simeonov | 2019-02-13 13:54:17 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2019-02-13 13:54:17 +0100 |
| commit | f7c1738793643a21917c9fb895d0e91da5446325 (patch) | |
| tree | 68465ac4dff894f445e3319c152d4e5be6eeb92b /.emacs.d | |
| parent | d038813fd1a8c740fc0a362756263ec32b119069 (diff) | |
Update php-mode
Diffstat (limited to '.emacs.d')
| -rw-r--r-- | .emacs.d/lisp/php-mode.el | 15 | ||||
| -rw-r--r-- | .emacs.d/lisp/php-project.el | 4 |
2 files changed, 11 insertions, 8 deletions
diff --git a/.emacs.d/lisp/php-mode.el b/.emacs.d/lisp/php-mode.el index 79bf356..364937f 100644 --- a/.emacs.d/lisp/php-mode.el +++ b/.emacs.d/lisp/php-mode.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; php-mode.el --- Major mode for editing PHP code | 1 | ;;; php-mode.el --- Major mode for editing PHP code |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2018 Friends of Emacs-PHP development | 3 | ;; Copyright (C) 2018-2019 Friends of Emacs-PHP development |
| 4 | ;; Copyright (C) 1999, 2000, 2001, 2003, 2004 Turadg Aleahmad | 4 | ;; Copyright (C) 1999, 2000, 2001, 2003, 2004 Turadg Aleahmad |
| 5 | ;; 2008 Aaron S. Hawley | 5 | ;; 2008 Aaron S. Hawley |
| 6 | ;; 2011, 2012, 2013, 2014, 2015, 2016, 2017 Eric James Michael Ritz | 6 | ;; 2011, 2012, 2013, 2014, 2015, 2016, 2017 Eric James Michael Ritz |
| @@ -9,14 +9,14 @@ | |||
| 9 | ;; Maintainer: USAMI Kenta <tadsan@zonu.me> | 9 | ;; Maintainer: USAMI Kenta <tadsan@zonu.me> |
| 10 | ;; URL: https://github.com/emacs-php/php-mode | 10 | ;; URL: https://github.com/emacs-php/php-mode |
| 11 | ;; Keywords: languages php | 11 | ;; Keywords: languages php |
| 12 | ;; Version: 1.20.0 | 12 | ;; Version: 1.21.0 |
| 13 | ;; Package-Requires: ((emacs "24.3") (cl-lib "0.5")) | 13 | ;; Package-Requires: ((emacs "24.3") (cl-lib "0.5")) |
| 14 | ;; License: GPL-3.0-or-later | 14 | ;; License: GPL-3.0-or-later |
| 15 | 15 | ||
| 16 | (defconst php-mode-version-number "1.20.0" | 16 | (defconst php-mode-version-number "1.21.0" |
| 17 | "PHP Mode version number.") | 17 | "PHP Mode version number.") |
| 18 | 18 | ||
| 19 | (defconst php-mode-modified "2018-12-05" | 19 | (defconst php-mode-modified "2019-01-09" |
| 20 | "PHP Mode build date.") | 20 | "PHP Mode build date.") |
| 21 | 21 | ||
| 22 | ;; This file is free software; you can redistribute it and/or | 22 | ;; This file is free software; you can redistribute it and/or |
| @@ -418,7 +418,8 @@ This function may interfere with other hooks and other behaviors. | |||
| 418 | In that case set to `NIL'." | 418 | In that case set to `NIL'." |
| 419 | :type 'boolean) | 419 | :type 'boolean) |
| 420 | 420 | ||
| 421 | (defcustom php-mode-disable-parent-mode-hooks t | 421 | (define-obsolete-variable-alias 'php-mode-disable-parent-mode-hooks 'php-mode-disable-c-mode-hook "1.21.0") |
| 422 | (defcustom php-mode-disable-c-mode-hook t | ||
| 422 | "When set to `T', do not run hooks of parent modes (`java-mode', `c-mode')." | 423 | "When set to `T', do not run hooks of parent modes (`java-mode', `c-mode')." |
| 423 | :type 'boolean | 424 | :type 'boolean |
| 424 | :group 'php-mode) | 425 | :group 'php-mode) |
| @@ -1263,7 +1264,9 @@ After setting the stylevars run hooks according to STYLENAME | |||
| 1263 | "Major mode for editing PHP code. | 1264 | "Major mode for editing PHP code. |
| 1264 | 1265 | ||
| 1265 | \\{php-mode-map}" | 1266 | \\{php-mode-map}" |
| 1266 | (when php-mode-disable-parent-mode-hooks | 1267 | ;; :after-hook (c-update-modeline) |
| 1268 | ;; (setq abbrev-mode t) | ||
| 1269 | (when php-mode-disable-c-mode-hook | ||
| 1267 | (setq-local c-mode-hook nil) | 1270 | (setq-local c-mode-hook nil) |
| 1268 | (setq-local java-mode-hook nil)) | 1271 | (setq-local java-mode-hook nil)) |
| 1269 | (c-initialize-cc-mode t) | 1272 | (c-initialize-cc-mode t) |
diff --git a/.emacs.d/lisp/php-project.el b/.emacs.d/lisp/php-project.el index bbcc19c..a2aa253 100644 --- a/.emacs.d/lisp/php-project.el +++ b/.emacs.d/lisp/php-project.el | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | ;;; php-project.el --- Project support for PHP application -*- lexical-binding: t; -*- | 1 | ;;; php-project.el --- Project support for PHP application -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2018 Friends of Emacs-PHP development | 3 | ;; Copyright (C) 2018-2019 Friends of Emacs-PHP development |
| 4 | 4 | ||
| 5 | ;; Author: USAMI Kenta <tadsan@zonu.me> | 5 | ;; Author: USAMI Kenta <tadsan@zonu.me> |
| 6 | ;; Keywords: tools, files | 6 | ;; Keywords: tools, files |
| 7 | ;; URL: https://github.com/emacs-php/php-mode | 7 | ;; URL: https://github.com/emacs-php/php-mode |
| 8 | ;; Version: 1.20.0 | 8 | ;; Version: 1.21.0 |
| 9 | ;; Package-Requires: ((emacs "24.3") (cl-lib "0.5")) | 9 | ;; Package-Requires: ((emacs "24.3") (cl-lib "0.5")) |
| 10 | ;; License: GPL-3.0-or-later | 10 | ;; License: GPL-3.0-or-later |
| 11 | 11 | ||
