Skip to content

Commit d16687a

Browse files
committed
Add lisp/php-local-manual.el
1 parent a9eb5c4 commit d16687a

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

lisp/php-local-manual.el

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
;;; php-local-manual.el --- Tools for local PHP manual -*- lexical-binding: t; -*-
2+
3+
;; Copyright (C) 2020 Friends of Emacs-PHP development
4+
5+
;; Author: Eric James Michael Ritz
6+
;; Maintainer: USAMI Kenta <tadsan@zonu.me>
7+
;; URL: https://github.com/emacs-php/php-mode
8+
;; Keywords: docs, php
9+
;; Version: 2.0.0
10+
;; Package-Requires: ((emacs "25.2"))
11+
;; License: GPL-3.0-or-later
12+
13+
;; This program is free software; you can redistribute it and/or modify
14+
;; it under the terms of the GNU General Public License as published by
15+
;; the Free Software Foundation, either version 3 of the License, or
16+
;; (at your option) any later version.
17+
18+
;; This program is distributed in the hope that it will be useful,
19+
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
;; GNU General Public License for more details.
22+
23+
;; You should have received a copy of the GNU General Public License
24+
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
25+
26+
;;; Commentary:
27+
28+
;; This package helps you search the locally installed PHP Manual.
29+
;; If you're only developing online, this feature is probably unnecessary.
30+
31+
;;; Code:
32+
(require 'php-mode)
33+
34+
(defalias 'php-local-manual-search #'php-search-local-documentation)
35+
36+
;; TODO: move implementation
37+
;; (define-obsolete-function-alias 'php-search-local-documentation #'php-local-manual-search)
38+
39+
(provide 'php-local-manual)
40+
;;; php-local-manual.el ends here

0 commit comments

Comments
 (0)