* 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:
parent
4fba36ce11
commit
ce2e5c7f79
1 changed files with 4 additions and 3 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue