Skip to content

Commit

Permalink
Add aliases for obsolete variables and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
10sr committed Nov 1, 2015
1 parent 8007f38 commit 7f079db
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion editorconfig.el
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
;; Copyright (C) 2011-2015 EditorConfig Team ;; Copyright (C) 2011-2015 EditorConfig Team


;; Author: EditorConfig Team <editorconfig@googlegroups.com> ;; Author: EditorConfig Team <editorconfig@googlegroups.com>
;; Version: 0.4 ;; Version: 0.5
;; URL: https://github.com/editorconfig/editorconfig-emacs#readme ;; URL: https://github.com/editorconfig/editorconfig-emacs#readme


;; See ;; See
Expand Down Expand Up @@ -43,6 +43,10 @@
"EditorConfig command" "EditorConfig command"
:type 'string :type 'string
:group 'editorconfig) :group 'editorconfig)
(define-obsolete-variable-alias
'edconf-exec-path
'editorconfig-exec-path
"0.5")


(defcustom editorconfig-get-properties-function (defcustom editorconfig-get-properties-function
'editorconfig-get-properties-from-exec 'editorconfig-get-properties-from-exec
Expand All @@ -53,6 +57,10 @@ The hash object should have symbols of property names as keys and strings of
property values as values." property values as values."
:type 'function :type 'function
:group 'editorconfig) :group 'editorconfig)
(define-obsolete-variable-alias
'edconf-get-properties-function
'editorconfig-get-properties-function
"0.5")


(defcustom editorconfig-custom-hooks () (defcustom editorconfig-custom-hooks ()
"A list of custom hooks after loading common EditorConfig settings "A list of custom hooks after loading common EditorConfig settings
Expand All @@ -74,6 +82,10 @@ property emacs_linum to decide whether to show line numbers on the left
" "
:type '(lambda (properties) (body)) :type '(lambda (properties) (body))
:group 'editorconfig) :group 'editorconfig)
(define-obsolete-variable-alias
'edconf-custom-hooks
'editorconfig-custom-hooks
"0.5")


(defcustom editorconfig-indentation-alist (defcustom editorconfig-indentation-alist
'((awk-mode c-basic-offset) '((awk-mode c-basic-offset)
Expand Down Expand Up @@ -150,6 +162,10 @@ NOTE: Only the **buffer local** value of VARIABLE will be set."
:type '(alist :key-type symbol :value-type sexp) :type '(alist :key-type symbol :value-type sexp)
:risky t :risky t
:group 'editorconfig) :group 'editorconfig)
(define-obsolete-variable-alias
'edconf-indentation-alist
'editorconfig-indentation-alist
"0.5")


(defun editorconfig-string-integer-p (string) (defun editorconfig-string-integer-p (string)
"Whether a string representing integer" "Whether a string representing integer"
Expand Down

0 comments on commit 7f079db

Please sign in to comment.