* emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.

This commit is contained in:
Glenn Morris 2013-05-23 23:59:13 -07:00
parent ded62b0881
commit e5d1916a72
2 changed files with 3 additions and 1 deletions

View file

@ -470,7 +470,7 @@ See `chart-sort-matchlist' for more details."
(progn
(chart-sort-matchlist s2 s1 pred)
(setq s (oref s2 data)))
(error "Sorting of chart %s not supported" (object-name c))))
(error "Sorting of chart %s not supported" (eieio-object-name c))))
(if (eq (oref c direction) 'horizontal)
(oset (oref c y-axis) items s)
(oset (oref c x-axis) items s)