[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit bc18ba942f 04/11: Remove git-commit-fill-column
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit bc18ba942f 04/11: Remove git-commit-fill-column, obsolete since v2.11.0 |
Date: |
Mon, 13 Mar 2023 14:00:24 -0400 (EDT) |
branch: elpa/git-commit
commit bc18ba942f2a3dd22e552df7d05c3173482e0359
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Remove git-commit-fill-column, obsolete since v2.11.0
---
lisp/git-commit.el | 27 +--------------------------
1 file changed, 1 insertion(+), 26 deletions(-)
diff --git a/lisp/git-commit.el b/lisp/git-commit.el
index aeefd68988..52c0c654ea 100644
--- a/lisp/git-commit.el
+++ b/lisp/git-commit.el
@@ -290,25 +290,6 @@ to consider doing so."
:safe 'numberp
:type 'number)
-(defcustom git-commit-fill-column nil
- "Override `fill-column' in commit message buffers.
-
-If this is non-nil, then it should be an integer. If that is the
-case and the buffer-local value of `fill-column' is not already
-set by the time `git-commit-turn-on-auto-fill' is called as a
-member of `git-commit-setup-hook', then that function sets the
-buffer-local value of `fill-column' to the value of this option.
-
-This option exists mostly for historic reasons. If you are not
-already using it, then you probably shouldn't start doing so."
- :group 'git-commit
- :safe 'numberp
- :type '(choice (const :tag "use regular fill-column")
- number))
-
-(make-obsolete-variable 'git-commit-fill-column 'fill-column
- "Magit 2.11.0" 'set)
-
(defcustom git-commit-known-pseudo-headers
'("Signed-off-by" "Acked-by" "Modified-by" "Cc"
"Suggested-by" "Reported-by" "Tested-by" "Reviewed-by"
@@ -630,13 +611,7 @@ Don't use it directly, instead enable
`global-git-commit-mode'."
(setq-local paragraph-start (concat paragraph-start "\\|\\*\\|(")))
(defun git-commit-turn-on-auto-fill ()
- "Unconditionally turn on Auto Fill mode.
-If `git-commit-fill-column' is non-nil, and `fill-column'
-doesn't already have a buffer-local value, then set that
-to `git-commit-fill-column'."
- (when (and (numberp git-commit-fill-column)
- (not (local-variable-p 'fill-column)))
- (setq fill-column git-commit-fill-column))
+ "Unconditionally turn on Auto Fill mode."
(setq-local comment-auto-fill-only-comments nil)
(turn-on-auto-fill))
- [nongnu] elpa/git-commit 2bc6aaf527 02/11: Avoid using called-interactively-p, (continued)
- [nongnu] elpa/git-commit 2bc6aaf527 02/11: Avoid using called-interactively-p, ELPA Syncer, 2023/03/13
- [nongnu] elpa/git-commit 6b4f7f5811 05/11: Remove magit-section-when, obsolete since v2.90.0, ELPA Syncer, 2023/03/13
- [nongnu] elpa/git-commit df2f6e3f5d 01/11: magit-xref-setup: Limit number of items, ELPA Syncer, 2023/03/13
- [nongnu] elpa/git-commit 5b31ec985f 03/11: Cleanup whitespace, ELPA Syncer, 2023/03/13
- [nongnu] elpa/git-commit a8c92cc35d 06/11: Remove face aliases, obsolete since v2.12.0 and v3.0.0, ELPA Syncer, 2023/03/13
- [nongnu] elpa/git-commit ed8067830f 07/11: Remove variables and functions obsolete since v3.3.0, ELPA Syncer, 2023/03/13
- [nongnu] elpa/git-commit 02f4d3366e 08/11: Remove kludge for unmaintained third-party packages, ELPA Syncer, 2023/03/13
- [nongnu] elpa/git-commit 9b6ae49dd1 11/11: test: Compile magit-tests.el, ELPA Syncer, 2023/03/13
- [nongnu] elpa/git-commit 9e888be5ac 09/11: Remove magit-obsolete.el, ELPA Syncer, 2023/03/13
- [nongnu] elpa/git-commit 26a705fffe 10/11: test: Stop using removed magit-status-internal alias, ELPA Syncer, 2023/03/13
- [nongnu] elpa/git-commit bc18ba942f 04/11: Remove git-commit-fill-column, obsolete since v2.11.0,
ELPA Syncer <=