Changeset 4085 for trunk/lisp/allout.el
- Timestamp:
- 05/18/06 16:19:18 (3 years ago)
- Files:
-
- trunk/lisp/allout.el (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/allout.el
r4079 r4085 200 200 ;;;###autoload 201 201 (put 'allout-show-bodies 'safe-local-variable 202 '(lambda (x) (member x '(t nil))))202 (if (fboundp 'booleanp) 'booleanp '(lambda (x) (member x '(t nil))))) 203 203 204 204 ;;;_ = allout-header-prefix … … 346 346 ;;;###autoload 347 347 (put 'allout-old-style-prefixes 'safe-local-variable 348 '(lambda (x) (member x '(t nil))))348 (if (fboundp 'booleanp) 'booleanp '(lambda (x) (member x '(t nil))))) 349 349 ;;;_ = allout-stylish-prefixes - alternating bullets 350 350 (defcustom allout-stylish-prefixes t … … 395 395 ;;;###autoload 396 396 (put 'allout-stylish-prefixes 'safe-local-variable 397 '(lambda (x) (member x '(t nil))))397 (if (fboundp 'booleanp) 'booleanp '(lambda (x) (member x '(t nil))))) 398 398 399 399 ;;;_ = allout-numbered-bullet … … 409 409 (make-variable-buffer-local 'allout-numbered-bullet) 410 410 ;;;###autoload 411 (put 'allout-numbered-bullet 'safe-local-variable 'string-or-null-p) 411 (put 'allout-numbered-bullet 'safe-local-variable 412 (if (fboundp 'string-or-null-p) 413 'string-or-null-p 414 '(lambda (x) (or (stringp x) (null x))))) 412 415 ;;;_ = allout-file-xref-bullet 413 416 (defcustom allout-file-xref-bullet "@" … … 418 421 :group 'allout) 419 422 ;;;###autoload 420 (put 'allout-file-xref-bullet 'safe-local-variable 'string-or-null-p) 423 (put 'allout-file-xref-bullet 'safe-local-variable 424 (if (fboundp 'string-or-null-p) 425 'string-or-null-p 426 '(lambda (x) (or (stringp x) (null x))))) 421 427 ;;;_ = allout-presentation-padding 422 428 (defcustom allout-presentation-padding 2 … … 621 627 ;;;###autoload 622 628 (put 'allout-use-hanging-indents 'safe-local-variable 623 '(lambda (x) (member x '(t nil))))629 (if (fboundp 'booleanp) 'booleanp '(lambda (x) (member x '(t nil))))) 624 630 625 631 ;;;_ = allout-reindent-bodies … … 1068 1074 1069 1075 Switch to using `allout-exposure-change-hook' instead. Both 1070 variables are currently used if populated, but this one will be1071 i gnored in a subsequent allout version.")1076 variables are currently respected, but this one will be ignored 1077 in a subsequent allout version.") 1072 1078 ;;;_ = allout-exposure-change-hook 1073 1079 (defvar allout-exposure-change-hook nil … … 1075 1081 1076 1082 This variable will replace `allout-view-change-hook' in a subsequent allout 1077 version, though both are currently checked and used, if populated.")1083 version, though both are currently respected.") 1078 1084 1079 1085 ;;;_ = allout-outside-normal-auto-fill-function … … 1762 1768 (ol-start (overlay-start ol)) 1763 1769 (ol-end (overlay-end ol)) 1764 (msg "Change within concealed text disallowed.")1765 opened1766 1770 first) 1767 1771 (goto-char beg) … … 1773 1777 (allout-show-to-offshoot))) 1774 1778 (when (not first) 1775 (setq opened t)1776 1779 (setq first (point)))) 1777 1780 (goto-char (if (featurep 'xemacs) … … 4009 4012 "True if the currently visible containing topic is already collapsed. 4010 4013 4011 If optional INCLUDE-SINGLE-LINERS is true, then include single-line 4012 topics \(which intrinsically can be considered both collapsed and 4013 not\), as collapsed. Otherwise they are considered uncollapsed." 4014 Single line topics intrinsically can be considered as being both 4015 collapsed and uncollapsed. If optional INCLUDE-SINGLE-LINERS is 4016 true, then single-line topics are considered to be collapsed. By 4017 default, they are treated as being uncollapsed." 4014 4018 (save-excursion 4015 (and4016 (= (progn (allout-back-to-current-heading)4017 (move-end-of-line 1)4018 (point))4019 (allout-end-of-current-subtree))4020 (or include-single-liners4021 (progn (backward-char 1) (allout-hidden-p))))))4019 (and 4020 (= (progn (allout-back-to-current-heading) 4021 (move-end-of-line 1) 4022 (point)) 4023 (allout-end-of-current-subtree (not (looking-at "\n\n")))) 4024 (or include-single-liners 4025 (progn (backward-char 1) (allout-hidden-p)))))) 4022 4026 ;;;_ > allout-hide-current-subtree (&optional just-close) 4023 4027 (defun allout-hide-current-subtree (&optional just-close)
