diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-04-01 21:02:50 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-06-27 20:34:14 -0400 |
commit | e06b547e9369cb7c9c77b81041003bb120170929 (patch) | |
tree | b392b9a8d94fa457240f8545473ce31e460b52a0 /lisp/progmodes/tcl.el | |
parent | 2d992690de5bcb2036eeb4d2854761596b863704 (diff) | |
download | emacs-e06b547e9369cb7c9c77b81041003bb120170929.tar.gz |
Make tcl-auto-fill-mode obsolete (Bug#10772)
* lisp/progmodes/tcl.el (tcl-auto-fill-mode): Declare obsolete.
* etc/NEWS: Announce it.
Diffstat (limited to 'lisp/progmodes/tcl.el')
-rw-r--r-- | lisp/progmodes/tcl.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index 902a5aace08..de0cd50911a 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el @@ -353,8 +353,6 @@ information): Quotes all \"#\" characters that don't correspond to actual Tcl comments. (Useful when editing code not originally created with this mode). - `tcl-auto-fill-mode' - Auto-filling of Tcl comments. Add functions to the hook with `add-hook': @@ -1413,6 +1411,9 @@ Prefix argument means switch to the Tcl buffer afterwards." (defun tcl-auto-fill-mode (&optional arg) "Like `auto-fill-mode', but sets `comment-auto-fill-only-comments'." + (declare + (obsolete + "Use `auto-fill-mode' with `comment-auto-fill-only-comments'." "26.1")) (interactive "P") (auto-fill-mode arg) (if auto-fill-function |