[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/anzu 5ee99678ca 229/288: Remove needless attribute
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/anzu 5ee99678ca 229/288: Remove needless attribute |
Date: |
Thu, 6 Jan 2022 03:58:56 -0500 (EST) |
branch: elpa/anzu
commit 5ee99678ca3b4e1e72c8b722f91ea4e53f4c2670
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
Remove needless attribute
It is not necessary to specify, default value can be used.
---
anzu.el | 58 +++++++++++++++++++---------------------------------------
1 file changed, 19 insertions(+), 39 deletions(-)
diff --git a/anzu.el b/anzu.el
index 6b6641f84e..d96c3f4ddb 100644
--- a/anzu.el
+++ b/anzu.el
@@ -47,76 +47,62 @@
(defcustom anzu-mode-lighter " Anzu"
"Lighter of anzu-mode"
- :type 'string
- :group 'anzu)
+ :type 'string)
(defcustom anzu-cons-mode-line-p t
"Set nil if you use your own mode-line setting"
- :type 'boolean
- :group 'anzu)
+ :type 'boolean)
(defcustom anzu-minimum-input-length 1
"Minimum input length to enable anzu"
- :type 'integer
- :group 'anzu)
+ :type 'integer)
(defcustom anzu-search-threshold nil
"Limit of search number"
:type '(choice (integer :tag "Threshold of search")
- (boolean :tag "No threshold" nil))
- :group 'anzu)
+ (boolean :tag "No threshold" nil)))
(defcustom anzu-replace-threshold nil
"Limit of replacement overlays."
:type '(choice (integer :tag "Threshold of replacement overlays")
- (boolean :tag "No threshold" nil))
- :group 'anzu)
+ (boolean :tag "No threshold" nil)))
(defcustom anzu-use-migemo nil
"Flag of using migemo"
- :type 'boolean
- :group 'anzu)
+ :type 'boolean)
(defcustom anzu-mode-line-update-function nil
"Function which return mode-line string"
- :type 'function
- :group 'anzu)
+ :type 'function)
(defcustom anzu-regexp-search-commands '(isearch-forward-regexp
isearch-backward-regexp)
"Search function which use regexp."
- :type '(repeat function)
- :group 'anzu)
+ :type '(repeat function))
(defcustom anzu-input-idle-delay 0.05
"Idle second for updating modeline at replace commands"
- :type 'number
- :group 'anzu)
+ :type 'number)
(defcustom anzu-deactivate-region nil
"Deactive region if you use anzu a replace command with region"
- :type 'boolean
- :group 'anzu)
+ :type 'boolean)
(defcustom anzu-replace-at-cursor-thing 'defun
"Replace thing. This parameter is same as `thing-at-point'"
- :type 'symbol
- :group 'anzu)
+ :type 'symbol)
(defcustom anzu-replace-to-string-separator ""
"Separator of `to' string"
- :type 'string
- :group 'anzu)
+ :type 'string)
(defface anzu-mode-line
'((t (:foreground "magenta" :weight bold)))
- "face of anzu modeline"
- :group 'anzu)
+ "face of anzu modeline")
(defface anzu-replace-highlight
'((t :inherit query-replace))
- "highlight of replaced string"
- :group 'anzu)
+ "highlight of replaced string")
(defface anzu-match-1
'((((class color) (background light))
@@ -124,8 +110,7 @@
(((class color) (background dark))
:background "limegreen" :foreground "black")
(t :inverse-video t))
- "First group of match."
- :group 'anzu)
+ "First group of match.")
(defface anzu-match-2
'((((class color) (background light))
@@ -133,8 +118,7 @@
(((class color) (background dark))
:background "yellow" :foreground "black")
(t :inverse-video t))
- "Second group of match."
- :group 'anzu)
+ "Second group of match.")
(defface anzu-match-3
'((((class color) (background light))
@@ -142,16 +126,14 @@
(((class color) (background dark))
:background "aquamarine" :foreground "black")
(t :inverse-video t))
- "Third group of match."
- :group 'anzu)
+ "Third group of match.")
(defface anzu-replace-to
'((((class color) (background light))
:foreground "red")
(((class color) (background dark))
:foreground "yellow"))
- "highlight of replace string"
- :group 'anzu)
+ "highlight of replace string")
(defvar anzu--total-matched 0)
(defvar anzu--current-position 0)
@@ -308,7 +290,6 @@
;;;###autoload
(define-minor-mode anzu-mode
"minor-mode which display search information in mode-line."
- :group 'anzu
:init-value nil
:global nil
:lighter anzu-mode-lighter
@@ -328,8 +309,7 @@
(anzu-mode +1)))
;;;###autoload
-(define-globalized-minor-mode global-anzu-mode anzu-mode anzu--turn-on
- :group 'anzu)
+(define-globalized-minor-mode global-anzu-mode anzu-mode anzu--turn-on)
(defsubst anzu--query-prompt-base (use-region use-regexp)
(concat "Query replace"
- [nongnu] elpa/anzu 6dd966b4e2 186/288: Implement separator feature of Emacs 25, (continued)
- [nongnu] elpa/anzu 6dd966b4e2 186/288: Implement separator feature of Emacs 25, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 5e87e8c07a 187/288: Use own history variable for maintenance, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 10a05eb50c 166/288: Disable blink-matching-paren for improvement, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 5abdc5b889 038/288: Update document, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 0418c2b6d4 041/288: Update document, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 218a63ce47 015/288: Highlight code and add screenshot explanation, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 7b3d95d495 183/288: Support Emacs 24 and 25, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 6b217a457f 182/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 3c178f75f3 197/288: Fix matching a literal string, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu b486075ab4 204/288: Update requirement package version, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 5ee99678ca 229/288: Remove needless attribute,
ELPA Syncer <=
- [nongnu] elpa/anzu 8667be50aa 240/288: Merge pull request #73 from lunaryorn/patch-1, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu acfd0a49de 246/288: Threshold has to be nil or number., ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 532db96e34 026/288: Add doc-string, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 349e772b84 019/288: Fix #5 issue, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 4cc1b6c9e0 030/288: Merge pull request #7 from bbatsov/doc-improvement, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 16fc5810b3 029/288: Merge pull request #6 from bbatsov/fix-comp-warning, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 30d34084eb 039/288: bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu fd99f06af9 042/288: add screenshot for threshold, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 168d8c7f73 043/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu ff4393fac5 050/288: Add feature that highlight replaced texts, ELPA Syncer, 2022/01/06