diff options
| author | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-08-20 12:30:23 -0400 |
|---|---|---|
| committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-08-20 12:30:23 -0400 |
| commit | 63d2c2184941902e2358d0e9b0deb17b943db61a (patch) | |
| tree | e6c6fcc94331c32b306232147a605a6b5d3b3076 /polymode-classes.el | |
| parent | eb793e18ad9c9c41aa01b94592cbd51da08a3ada (diff) | |
Fix copyrights for GNU ELPAscratch/polymode
Assign the Copyright to the FSF.
Include various other minor and cosmetic changes:
- Prefer #' to quote function names.
- Fix a few uses of ' in docstrings which can be rendered incorrectly.
- Remove redundant `:group` args.
- Use keyword args for `define-minor-mode` rather than obsolete
positional arguments.
- Use `lexical-binding`.
- Add a `Copyright` line where missing.
* polymode-classes.el (pm-chunkmode, pm-inner-chunkmode): Use `symbol`
rather than `face` as type, since `face` is not actually defined as a type.
* polymode-compat.el: Use `with-eval-after-load` throughout.
* polymode-core.el: Don't use #' to quote the symbol passed to `advice-add`
because this arg can't be just a function, it has to be a symbol.
(pm-use-cache): Move before first use.
* template/targets/utils.el (polymode-add-deps-to-load-path): Make better
use of `expand-file-name`.
* tests/compat-tests.el: Skip tests if `poly-markdown` is not available,
instead of signaling an error.
Diffstat (limited to 'polymode-classes.el')
| -rw-r--r-- | polymode-classes.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/polymode-classes.el b/polymode-classes.el index b509446..fd83341 100644 --- a/polymode-classes.el +++ b/polymode-classes.el @@ -1,6 +1,6 @@ ;;; polymode-classes.el --- Core polymode classes -*- lexical-binding: t -*- ;; -;; Copyright (C) 2013-2019, Vitalie Spinu +;; Copyright (C) 2013-2022 Free Software Foundation, Inc. ;; Author: Vitalie Spinu ;; URL: https://github.com/polymode/polymode ;; @@ -295,7 +295,7 @@ the trailing white spaces if any.") (adjust-face :initarg :adjust-face :initform nil - :type (or number face list) + :type (or number symbol list) :custom (choice number face sexp) :documentation "Fontification adjustment for the body of the chunk. @@ -435,7 +435,7 @@ forward). See `pm-forward-sexp-tail-matcher' for an example.") (head-adjust-face :initarg :head-adjust-face :initform 'bold - :type (or number face list) + :type (or number symbol list) :custom (choice number face sexp) :documentation "Head's face adjustment. @@ -443,7 +443,7 @@ Can be a number, a list of properties or a face.") (tail-adjust-face :initarg :tail-adjust-face :initform nil - :type (or null number face list) + :type (or null number symbol list) :custom (choice (const :tag "From Head" nil) number face sexp) :documentation |
