From c7290da0a11ebbc81cab9493aad33f6a04a13328 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 24 Apr 2018 17:23:53 +0200 Subject: [PATCH] (add-to-invisibility-spec): Further doc tweak * lisp/subr.el (add-to-invisibility-spec): Tweak doc fix from previous patch. --- lisp/subr.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5