Changeset 4079 for trunk/lisp/allout.el
- Timestamp:
- 05/13/06 11:31:18 (3 years ago)
- Files:
-
- trunk/lisp/allout.el (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/allout.el
r4073 r4079 200 200 ;;;###autoload 201 201 (put 'allout-show-bodies 'safe-local-variable 202 (lambda (x) (member x '(t nil))))202 '(lambda (x) (member x '(t nil)))) 203 203 204 204 ;;;_ = allout-header-prefix … … 317 317 ;;;###autoload 318 318 (put 'allout-use-mode-specific-leader 'safe-local-variable 319 (lambda (x) (or (member x '(t nil)) (stringp x)))) 319 '(lambda (x) (or (memq x '(t nil allout-mode-leaders comment-start)) 320 (stringp x)))) 320 321 ;;;_ = allout-mode-leaders 321 322 (defvar allout-mode-leaders '() … … 345 346 ;;;###autoload 346 347 (put 'allout-old-style-prefixes 'safe-local-variable 347 (lambda (x) (member x '(t nil))))348 '(lambda (x) (member x '(t nil)))) 348 349 ;;;_ = allout-stylish-prefixes - alternating bullets 349 350 (defcustom allout-stylish-prefixes t … … 394 395 ;;;###autoload 395 396 (put 'allout-stylish-prefixes 'safe-local-variable 396 (lambda (x) (member x '(t nil))))397 '(lambda (x) (member x '(t nil)))) 397 398 398 399 ;;;_ = allout-numbered-bullet … … 408 409 (make-variable-buffer-local 'allout-numbered-bullet) 409 410 ;;;###autoload 410 (put 'allout-numbered-bullet 'safe-local-variable 411 (lambda (x) (or (not x) (stringp x)))) 411 (put 'allout-numbered-bullet 'safe-local-variable 'string-or-null-p) 412 412 ;;;_ = allout-file-xref-bullet 413 413 (defcustom allout-file-xref-bullet "@" … … 418 418 :group 'allout) 419 419 ;;;###autoload 420 (put 'allout-file-xref-bullet 'safe-local-variable 421 (lambda (x) (or (not x) (stringp x)))) 420 (put 'allout-file-xref-bullet 'safe-local-variable 'string-or-null-p) 422 421 ;;;_ = allout-presentation-padding 423 422 (defcustom allout-presentation-padding 2 … … 622 621 ;;;###autoload 623 622 (put 'allout-use-hanging-indents 'safe-local-variable 624 (lambda (x) (member x '(t nil))))623 '(lambda (x) (member x '(t nil)))) 625 624 626 625 ;;;_ = allout-reindent-bodies … … 642 641 ;;;###autoload 643 642 (put 'allout-reindent-bodies 'safe-local-variable 644 (lambda (x) (memberx '(nil t text force))))643 '(lambda (x) (memq x '(nil t text force)))) 645 644 646 645 ;;;_ = allout-enable-file-variable-adjustment … … 709 708 ;;;###autoload 710 709 (put 'allout-layout 'safe-local-variable 711 (lambda (x) (or (numberp x) (listp x) (integerp x) 712 (member x '(: * + -))))) 710 '(lambda (x) (or (numberp x) (listp x) (memq x '(: * + -))))) 713 711 714 712 ;;;_ : Topic header format … … 1065 1063 (defvar allout-overlay-category nil 1066 1064 "Symbol for use in allout invisible-text overlays as the category.") 1067 ;;;_ =allout-view-change-hook1065 ;;;_ x allout-view-change-hook 1068 1066 (defvar allout-view-change-hook nil 1069 "*Hook that's run after allout outline visibility changes.") 1067 "*\(Deprecated\) Hook that's run after allout outline exposure changes. 1068 1069 Switch to using `allout-exposure-change-hook' instead. Both 1070 variables are currently used if populated, but this one will be 1071 ignored in a subsequent allout version.") 1072 ;;;_ = allout-exposure-change-hook 1073 (defvar allout-exposure-change-hook nil 1074 "*Hook that's run after allout outline exposure changes. 1075 1076 This variable will replace `allout-view-change-hook' in a subsequent allout 1077 version, though both are currently checked and used, if populated.") 1070 1078 1071 1079 ;;;_ = allout-outside-normal-auto-fill-function … … 1728 1736 (defsubst allout-hidden-p (&optional pos) 1729 1737 "Non-nil if the character after point is invisible." 1730 ( get-char-property (or pos (point)) 'invisible))1738 (eq (get-char-property (or pos (point)) 'invisible) 'allout)) 1731 1739 1732 1740 ;;;_ > allout-overlay-insert-in-front-handler (ol after beg end … … 3832 3840 (while props 3833 3841 (overlay-put o (pop props) (pop props))))))) 3834 (run-hooks 'allout-view-change-hook)) 3842 (run-hooks 'allout-view-change-hook) 3843 (run-hooks 'allout-exposure-change-hook)) 3835 3844 ;;;_ > allout-flag-current-subtree (flag) 3836 3845 (defun allout-flag-current-subtree (flag) … … 5889 5898 (assq prop buffer-invisibility-spec)))))) 5890 5899 5891 5892 5900 ;;;_ #10 Unfinished 5893 5901 ;;;_ > allout-bullet-isearch (&optional bullet)
