Function: remove-from-invisibility-spec

remove-from-invisibility-spec is a byte-compiled function defined in subr.el.gz.

Signature

(remove-from-invisibility-spec ELEMENT)

Documentation

Remove ELEMENT from buffer-invisibility-spec.

If buffer-invisibility-spec isn't a list before calling this function, it will be made into a list containing just t as the only list member. This means that if text exists with non-t invisibility values, that text will become visible.

View in manual

Probably introduced at or before Emacs version 20.1.

Aliases

org-remove-from-invisibility-spec (obsolete since 9.2)

Source Code

;; Defined in /usr/src/emacs/lisp/subr.el.gz
(defun remove-from-invisibility-spec (element)
  "Remove ELEMENT from `buffer-invisibility-spec'.
If `buffer-invisibility-spec' isn't a list before calling this
function, it will be made into a list containing just t as the
only list member.  This means that if text exists with non-t
invisibility values, that text will become visible."
  (setq buffer-invisibility-spec
        (if (consp buffer-invisibility-spec)
	    (delete element buffer-invisibility-spec)
          (list t))))