* lisp/subr.el (remove-from-invisibility-spec): Handle the t case
* lisp/subr.el (remove-from-invisibility-spec): Make sure `element' is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
This commit is contained in:
@@ -4066,9 +4066,10 @@ that can be added."
|
||||
|
||||
(defun remove-from-invisibility-spec (element)
|
||||
"Remove ELEMENT from `buffer-invisibility-spec'."
|
||||
(if (consp buffer-invisibility-spec)
|
||||
(setq buffer-invisibility-spec
|
||||
(delete element buffer-invisibility-spec))))
|
||||
(setq buffer-invisibility-spec
|
||||
(if (consp buffer-invisibility-spec)
|
||||
(delete element buffer-invisibility-spec)
|
||||
(list t))))
|
||||
|
||||
;;;; Syntax tables.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user