emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

add-to-invisibility-spec adds element unconditionally


From: martin rudalics
Subject: add-to-invisibility-spec adds element unconditionally
Date: Sun, 01 May 2005 10:07:37 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

From the Elisp manual:

 -- Function: add-to-invisibility-spec element
     This function adds the element ELEMENT to
     `buffer-invisibility-spec' (if it is not already present in that
     list). ...

But the element is added unconditionally:

(defun add-to-invisibility-spec (arg)
  ...
  (setq buffer-invisibility-spec
        (cons arg buffer-invisibility-spec)))

Also, the doc-strings of `add-to-invisibility-spec' and
`remove-from-invisibility-spec' should reference ARG.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]