From: Juanma Barranquero Date: Thu, 20 Mar 2014 18:13:16 +0000 (+0100) Subject: lisp/skeleton.el (skeleton-autowrap): Mark as obsolete. X-Git-Tag: emacs-25.0.90~2640^2~344^2~26^2~6^2~3 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/b730af26071f7ba08f5e46dce1b96a687e090c90 lisp/skeleton.el (skeleton-autowrap): Mark as obsolete. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 857c086790..0c62c55fa3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-03-20 Juanma Barranquero + + * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix. + 2014-03-20 Stefan Monnier * electric.el (electric-newline-and-maybe-indent): New command. diff --git a/lisp/skeleton.el b/lisp/skeleton.el index 767f0b3490..de0e5116db 100644 --- a/lisp/skeleton.el +++ b/lisp/skeleton.el @@ -55,11 +55,8 @@ Typical examples might be `upcase' or `capitalize'.") When the region is visible (due to `transient-mark-mode' or marking a region with the mouse) and this is non-nil and the function was called without an explicit ARG, then the ARG defaults to -1, i.e. wrapping around the visible -region. - -We will probably delete this variable in a future Emacs version -unless we get a substantial number of complaints about the auto-wrap -feature.") +region.") +(make-obsolete-variable 'skeleton-autowrap nil "24.5") (defvar skeleton-end-newline t "If non-nil, make sure that the skeleton inserted ends with a newline.