branch: scratch/editorconfig-cc
commit 16bd394d1f7efbe09c69ec68c9dec8d2bf72b698
Author: 10sr <8slashes+...@gmail.com>
Commit: Stefan Monnier <monn...@iro.umontreal.ca>

    Add aliases for obsolete variables and bump version
---
 editorconfig.el | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/editorconfig.el b/editorconfig.el
index 3058144c0c..fa178cda6f 100644
--- a/editorconfig.el
+++ b/editorconfig.el
@@ -3,8 +3,8 @@
 ;; Copyright (C) 2011-2015 EditorConfig Team
 
 ;; Author: EditorConfig Team <editorcon...@googlegroups.com>
-;; Version: 0.4
-;; URL: http://github.com/editorconfig/editorconfig-emacs#readme
+;; Version: 0.5
+;; URL: https://github.com/editorconfig/editorconfig-emacs#readme
 
 ;; See
 ;; http://github.com/editorconfig/editorconfig-emacs/graphs/contributors
@@ -43,6 +43,10 @@
   "EditorConfig command"
   :type 'string
   :group 'editorconfig)
+(define-obsolete-variable-alias
+  'edconf-exec-path
+  'editorconfig-exec-path
+  "0.5")
 
 (defcustom editorconfig-get-properties-function
   'editorconfig-get-properties-from-exec
@@ -53,6 +57,10 @@ The hash object should have symbols of property names as 
keys and strings of
 property values as values."
   :type 'function
   :group 'editorconfig)
+(define-obsolete-variable-alias
+  'edconf-get-properties-function
+  'editorconfig-get-properties-function
+  "0.5")
 
 (defcustom editorconfig-custom-hooks ()
   "A list of custom hooks after loading common EditorConfig settings
@@ -74,6 +82,10 @@ property emacs_linum to decide whether to show line numbers 
on the left
 "
   :type '(lambda (properties) (body))
   :group 'editorconfig)
+(define-obsolete-variable-alias
+  'edconf-custom-hooks
+  'editorconfig-custom-hooks
+  "0.5")
 
 (defcustom editorconfig-indentation-alist
   '((awk-mode c-basic-offset)
@@ -150,6 +162,10 @@ NOTE: Only the **buffer local** value of VARIABLE will be 
set."
   :type '(alist :key-type symbol :value-type sexp)
   :risky t
   :group 'editorconfig)
+(define-obsolete-variable-alias
+  'edconf-indentation-alist
+  'editorconfig-indentation-alist
+  "0.5")
 
 (defun editorconfig-string-integer-p (string)
   "Whether a string representing integer"

Reply via email to