comparison lisp/behavior-defs.el @ 771:943eaba38521

[xemacs-hg @ 2002-03-13 08:51:24 by ben] The big ben-mule-21-5 check-in! Various files were added and deleted. See CHANGES-ben-mule. There are still some test suite failures. No crashes, though. Many of the failures have to do with problems in the test suite itself rather than in the actual code. I'll be addressing these in the next day or so -- none of the test suite failures are at all critical. Meanwhile I'll be trying to address the biggest issues -- i.e. build or run failures, which will almost certainly happen on various platforms. All comments should be sent to ben@xemacs.org -- use a Cc: if necessary when sending to mailing lists. There will be pre- and post- tags, something like pre-ben-mule-21-5-merge-in, and post-ben-mule-21-5-merge-in.
author ben
date Wed, 13 Mar 2002 08:54:06 +0000
parents ed498ef2108b
children 79940b592197
comparison
equal deleted inserted replaced
770:336a418893b5 771:943eaba38521
1 ;;; behavior-defs.el --- definitions of specific behaviors 1 ;;; behavior-defs.el --- definitions of specific behaviors
2 2
3 ;; Copyright (C) 2000, 2001 Ben Wing. 3 ;; Copyright (C) 2000, 2001, 2002 Ben Wing.
4 4
5 ;; Author: Ben Wing 5 ;; Author: Ben Wing
6 ;; Maintainer: XEmacs Development Team 6 ;; Maintainer: XEmacs Development Team
7 ;; Keywords: internal, dumped 7 ;; Keywords: internal, dumped
8 8
272 :short-doc "Resize minibuffer automatically" 272 :short-doc "Resize minibuffer automatically"
273 :enable #'(lambda () 273 :enable #'(lambda ()
274 (resize-minibuffer-mode 1)) 274 (resize-minibuffer-mode 1))
275 :disable #'(lambda () 275 :disable #'(lambda ()
276 (resize-minibuffer-mode -1))) 276 (resize-minibuffer-mode -1)))
277
278 (eval-when-compile (require 'func-menu))
277 279
278 (define-behavior 'func-menu 280 (define-behavior 'func-menu
279 "Suppose you have a file with a lot of functions in it. Well, this 281 "Suppose you have a file with a lot of functions in it. Well, this
280 package makes it easy to jump to any of those functions. The names of 282 package makes it easy to jump to any of those functions. The names of
281 the functions in the current buffer are automatically put into menubar 283 the functions in the current buffer are automatically put into menubar
470 process. This can be avoided by disabling the save on exit from 472 process. This can be avoided by disabling the save on exit from
471 the menu." 473 the menu."
472 :short-doc "`Recent Files' menu" 474 :short-doc "`Recent Files' menu"
473 :enable 'recent-files-initialize) 475 :enable 'recent-files-initialize)
474 476
477 (eval-when-compile (require 'filladapt))
475 (define-behavior 'filladapt 478 (define-behavior 'filladapt
476 "These functions enhance the default behavior of Emacs' Auto Fill 479 "These functions enhance the default behavior of Emacs' Auto Fill
477 mode and the commands `fill-paragraph', `lisp-fill-paragraph', 480 mode and the commands `fill-paragraph', `lisp-fill-paragraph',
478 `fill-region-as-paragraph' and `fill-region'. 481 `fill-region-as-paragraph' and `fill-region'.
479 482