]> git.eshelyaron.com Git - emacs.git/commitdiff
(outline-visible): Add obsolescence declaration and remove redundant info from
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 5 Feb 2003 23:15:41 +0000 (23:15 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 5 Feb 2003 23:15:41 +0000 (23:15 +0000)
docstring.

lisp/textmodes/outline.el

index ed04dd11932ce2ed9b99dac161ee0ef89c688d32..ffb9c3bd8817bb9a9f4be3d526304ad8a7639a0b 100644 (file)
@@ -342,9 +342,10 @@ at the end of the buffer."
 (defsubst outline-invisible-p ()
   "Non-nil if the character after point is invisible."
   (get-char-property (point) 'invisible))
+
 (defun outline-visible ()
-  "Obsolete.  Use `outline-invisible-p'."
   (not (outline-invisible-p)))
+(make-obsolete 'outline-visible 'outline-invisible-p)
 
 (defun outline-back-to-heading (&optional invisible-ok)
   "Move to previous heading line, or beg of this line if it's a heading.