1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-31 20:02:42 +00:00

* 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

@ -1,5 +1,7 @@
2013-05-24 Glenn Morris <rgm@gnu.org>
* emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
* progmodes/cperl-mode.el (cperl-mode): Use fboundp.
(Info-find-node, Man-getpage-in-background): Declare.

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)