From: Lars Ingebrigtsen Date: Tue, 24 Apr 2018 15:23:53 +0000 (+0200) Subject: (add-to-invisibility-spec): Further doc tweak X-Git-Tag: emacs-27.0.90~5101 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c7290da0a11ebbc81cab9493aad33f6a04a13328;p=emacs.git (add-to-invisibility-spec): Further doc tweak * lisp/subr.el (add-to-invisibility-spec): Tweak doc fix from previous patch. --- diff --git a/lisp/subr.el b/lisp/subr.el index 208535f00bb..dd51539fa1e 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -4333,7 +4333,8 @@ that can be added. If `buffer-invisibility-spec' isn't a list before calling this function, `buffer-invisibility-spec' will afterwards be a list with the value `(t ELEMENT)'. This means that if text exists -with non-`t' invisibility values, that text will become visible." +that invisibility values that aren't either `t' or ELEMENT, that +text will become visible." (if (eq buffer-invisibility-spec t) (setq buffer-invisibility-spec (list t))) (setq buffer-invisibility-spec