mirror of https://github.com/Chizi123/.emacs.d.git

Chizi123
2018-11-18 21067e7cbe6d7a0f65ff5c317a96b5c337b0b3d8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
;;; magit-obsolete.el --- obsolete definitions  -*- lexical-binding: t -*-
 
;; Copyright (C) 2010-2018  The Magit Project Contributors
;;
;; You should have received a copy of the AUTHORS.md file which
;; lists all contributors.  If not, see http://magit.vc/authors.
 
;; Author: Jonas Bernoulli <jonas@bernoul.li>
;; Maintainer: Jonas Bernoulli <jonas@bernoul.li>
 
;; Magit is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;;
;; Magit is distributed in the hope that it will be useful, but WITHOUT
;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
;; or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
;; License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with Magit.  If not, see http://www.gnu.org/licenses.
 
;;; Commentary:
 
;; This library defines aliases for obsolete variables and functions.
 
;;; Code:
 
(require 'magit)
 
;;; Obsolete since v2.90.0
 
(define-obsolete-function-alias 'magit-reset-head 'magit-reset-mixed "Magit 2.90.0")
(define-obsolete-function-alias 'magit-gitignore 'magit-gitignore-globally "Magit 2.90.0")
(define-obsolete-function-alias 'magit-branch 'magit-branch-create "Magit 2.90.0")
(define-obsolete-function-alias 'magit-tag 'magit-tag-create "Magit 2.90.0")
(define-obsolete-function-alias 'magit-fetch 'magit-fetch-other "Magit 2.90.0")
(define-obsolete-function-alias 'magit-pull 'magit-pull-branch "Magit 2.90.0")
(define-obsolete-function-alias 'magit-rebase 'magit-rebase-branch "Magit 2.90.0")
(define-obsolete-function-alias 'magit-blame 'magit-blame-addition "Magit 2.90.0")
(define-obsolete-function-alias 'magit-revert 'magit-revert-and-commit "Magit 2.90.0")
(define-obsolete-function-alias 'magit-reset 'magit-reset-quickly "Magit 2.90.0")
(define-obsolete-function-alias 'magit-merge 'magit-merge-plain "Magit 2.90.0")
(define-obsolete-function-alias 'magit-stash 'magit-stash-both "Magit 2.90.0")
(define-obsolete-function-alias 'magit-snapshot 'magit-snapshot-both "Magit 2.90.0")
(define-obsolete-function-alias 'magit-push 'magit-push-other "Magit 2.90.0")
(define-obsolete-function-alias 'magit-commit 'magit-commit-create "Magit 2.90.0")
(define-obsolete-function-alias 'magit-log 'magit-log-other "Magit 2.90.0")
(define-obsolete-function-alias 'magit-reflog 'magit-reflog-other "Magit 2.90.0")
(define-obsolete-function-alias 'magit-diff 'magit-diff-range "Magit 2.90.0")
 
;;; _
(provide 'magit-obsolete)
;;; magit-obsolete.el ends here