From 353b076ab94a375f512c714a53fb0da0dc629002 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Sat, 19 May 2018 22:41:07 +0200 Subject: Upgrade php-mode and yasnippet --- .emacs.d/lisp/php-project.el | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to '.emacs.d/lisp/php-project.el') diff --git a/.emacs.d/lisp/php-project.el b/.emacs.d/lisp/php-project.el index d478d9e..53275b9 100644 --- a/.emacs.d/lisp/php-project.el +++ b/.emacs.d/lisp/php-project.el @@ -5,8 +5,8 @@ ;; Author: USAMI Kenta ;; Keywords: tools, files ;; URL: https://github.com/ejmr/php-mode -;; Version: 1.19.0 -;; Package-Requires: ((emacs "24") (cl-lib "0.5")) +;; Version: 1.19.1 +;; Package-Requires: ((emacs "24.3") (cl-lib "0.5")) ;; License: GPL-3.0-or-later ;; This program is free software; you can redistribute it and/or modify @@ -88,7 +88,7 @@ ;;;###autoload (progn - (defvar php-project-root 'auto + (defvar-local php-project-root 'auto "Method of searching for the top level directory. `auto' (default) @@ -101,42 +101,37 @@ STRING A file/directory name of top level marker. If the string is an actual directory path, it is set as the absolute path of the root directory, not the marker.") - (make-variable-buffer-local 'php-project-root) (put 'php-project-root 'safe-local-variable #'(lambda (v) (or (stringp v) (assq v php-project-available-root-files))))) ;;;###autoload (progn - (defvar php-project-bootstrap-scripts nil + (defvar-local php-project-bootstrap-scripts nil "List of path to bootstrap php script file. The ideal bootstrap file is silent, it only includes dependent files, defines constants, and sets the class loaders.") - (make-variable-buffer-local 'php-project-bootstrap-scripts) (put 'php-project-bootstrap-scripts 'safe-local-variable #'php-project--eval-bootstrap-scripts)) ;;;###autoload (progn - (defvar php-project-php-executable nil + (defvar-local php-project-php-executable nil "Path to php executable file.") - (make-variable-buffer-local 'php-project-php-executable) (put 'php-project-php-executable 'safe-local-variable #'(lambda (v) (and (stringp v) (file-executable-p v))))) ;;;###autoload (progn - (defvar php-project-phan-executable nil + (defvar-local php-project-phan-executable nil "Path to phan executable file.") - (make-variable-buffer-local 'php-project-phan-executable) (put 'php-project-phan-executable 'safe-local-variable #'php-project--eval-bootstrap-scripts)) ;;;###autoload (progn - (defvar php-project-coding-style nil + (defvar-local php-project-coding-style nil "Symbol value of the coding style of the project that PHP major mode refers to. Typically it is `pear', `drupal', `wordpress', `symfony2' and `psr2'.") - (make-variable-buffer-local 'php-project-coding-style) (put 'php-project-coding-style 'safe-local-variable #'symbolp)) -- cgit v1.3