Comments (3)
The problem is that we also have to support released versions of Emacs and those don't support a list as the first/only argument. I've silenced this warning in a few places, while I am waiting for this deprecation to be reverted. It seems to be taking longer than expected though, given that hundreds of packages must be affected. You could help by reporting this issue on debbugs.
from magit.
I've informed Stefan and he is looking into it. (I tried responding to https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67034, but apparently I only send a private message to him.)
from magit.
For now we don't get these warnings anymore.
(defun derived-mode-p (&optional modes &rest old-modes)
"Non-nil if the current major mode is derived from one of MODES.
MODES should be a list of symbols or a single mode symbol instead of a list.
We also still support the deprecated calling convention:
\(derived-mode-p &rest MODES)."
(declare (side-effect-free t)
;; FIXME: It's cumbersome for external packages to write code which
;; accommodates both the old and the new calling conventions *and*
;; doesn't cause spurious warnings. So let's be more lenient
;; for now and maybe remove `deprecated-args' for Emacs-31.
(advertised-calling-convention (modes &rest deprecated-args) "30.1"))
(provided-mode-derived-p major-mode (if old-modes (cons modes old-modes)
modes)))
from magit.
Related Issues (20)
- Incorrect displaying of recent commits HOT 1
- issues with compat.el HOT 1
- intermittent authentication failures HOT 1
- transient-prefix-object requires transient 0.5.0 HOT 2
- Error when attempting to run magit-branch HOT 1
- (void-function transient-prefix-object) HOT 3
- Magit displays warning about transient version, even though I'm using the latest. HOT 5
- magit-log-mode-hook Does Not Work
- Magit commit fails with `safe.barerepository=explicit`. HOT 13
- Hunk refinement does not work for unmerged files HOT 1
- magit-blame shows CommitDate instead of AuthorDate
- Stage hunk in tramp session result in infinity loop HOT 2
- When doing worktree diff with a commit, apply/reverse doesn't work in the diff buffer HOT 3
- Setting `safe.bareRepository=explicit` breaks magit commit HOT 1
- magit-diff-paths output is not washed HOT 1
- Error in `magit-repolist-column-version` function: (wrong-type-argument integer-or-marker-p nil) HOT 1
- `magit-log` with `--author=` argument hangs with `vertico-mode` when `transient-default-level` is 7 HOT 2
- Magit should always specify --git-dir or GIT_DIR when cd-ing to a gitdir to run some Git subcommand. HOT 19
- Binding C-<tab> conflicts with Emacs' tab-bar-mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magit.