diff options
| author | Vedang Manerikar <ved.manerikar@gmail.com> | 2021-12-28 22:36:55 +0530 |
|---|---|---|
| committer | Vedang Manerikar <ved.manerikar@gmail.com> | 2021-12-31 09:46:00 +0530 |
| commit | c5e6be69086b45af05b2f58f6df23167b6a5da79 (patch) | |
| tree | e797b99906a271e1d459d89c9ffd2e4514d0fa06 /test/pdf-cache-test.el | |
| parent | d866c8749a4b29e37e9e1dca6dad1b3fa92babf0 (diff) | |
Indentation and code-quality fixes
- Remove :group arguments from `defcustom` declarations
- `defcustom` picks up `defgroup` names from the same file, so
specifying the group is not necessary
- Ensure that all function-names are properly quoted using #'
- Add an explicit header-option setting lexical-binding to t
- Ensure that cl-check-type uses `satisfies` for filenames
- Replace all `defadvice` with `advice-add`
- Replace `(list ...)` patterns with `\`(...)` patterns
Fixes: #62
Fixes: #32
Partially Fixes: #24
Diffstat (limited to 'test/pdf-cache-test.el')
| -rw-r--r-- | test/pdf-cache-test.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/pdf-cache-test.el b/test/pdf-cache-test.el index 26b7fe7..24abf6d 100644 --- a/test/pdf-cache-test.el +++ b/test/pdf-cache-test.el @@ -1,4 +1,4 @@ - +;; -*- lexical-binding: t; -*- ;; * ================================================================== * ;; * Tests for pdf-cache.el @@ -28,4 +28,3 @@ (pdf-cache--make-image 1 1 "1" nil) (pdf-cache--make-image 3 1 "3" nil)))) (should-not (pdf-cache-get-image 4 1)))) - |
