aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/subr.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 5d40aaae41c..535fa2d3d0e 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -4066,9 +4066,10 @@ that can be added."
4066 4066
4067(defun remove-from-invisibility-spec (element) 4067(defun remove-from-invisibility-spec (element)
4068 "Remove ELEMENT from `buffer-invisibility-spec'." 4068 "Remove ELEMENT from `buffer-invisibility-spec'."
4069 (if (consp buffer-invisibility-spec) 4069 (setq buffer-invisibility-spec
4070 (setq buffer-invisibility-spec 4070 (if (consp buffer-invisibility-spec)
4071 (delete element buffer-invisibility-spec)))) 4071 (delete element buffer-invisibility-spec)
4072 (list t))))
4072 4073
4073;;;; Syntax tables. 4074;;;; Syntax tables.
4074 4075