* 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.
This commit is contained in:
Jim Blandy 1993-03-21 07:04:44 +00:00
parent 0f85737cab
commit ec9a76e3d1
2 changed files with 10 additions and 2 deletions

View file

@ -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)