summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-03-21 07:04:44 +0000
committerJim Blandy <jimb@redhat.com>1993-03-21 07:04:44 +0000
commitec9a76e3d170ca2da59c7075b55b7ce1e8511ab4 (patch)
tree7ce169af4787bd2a5270d32b7380ebb6e0af4970 /lisp/emacs-lisp
parent0f85737cab24dda270770577bd2810c266f6d497 (diff)
downloademacs-ec9a76e3d170ca2da59c7075b55b7ce1e8511ab4.tar.gz
emacs-ec9a76e3d170ca2da59c7075b55b7ce1e8511ab4.tar.bz2
emacs-ec9a76e3d170ca2da59c7075b55b7ce1e8511ab4.zip
* simple.el (comment-indent-function): New variable, intended to
replace comment-indent-hook. (comment-indent-hook): Make this default to nil now. (indent-for-comment): If comment-indent-hook is non-nil, call it for backward compatibility; otherwise, call comment-indent-function. * bytecomp.el: Declare comment-indent-hook an obsolete variable.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index bab4e9de04d..921737df870 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -2994,6 +2994,7 @@ For example, invoke \"emacs -batch -f batch-byte-compile $emacs/ ~/*.el\""
(make-obsolete-variable 'unread-command-event
"use unread-command-events; this is now a list of events.")
(make-obsolete-variable 'suspend-hook 'suspend-hooks)
+(make-obsolete-variable 'comment-indent-hook 'comment-indent-function)
(provide 'byte-compile)