diff options
| author | Nick Roberts | 2005-05-01 13:43:20 +0000 |
|---|---|---|
| committer | Nick Roberts | 2005-05-01 13:43:20 +0000 |
| commit | bff05d9ea2f28b76f5c0d45370ad7ab39ad61a86 (patch) | |
| tree | 20b5346fa4ecf3efc9d966bb0b9e6cff195fb931 | |
| parent | 92bedc0eb338a3f53dd3fcd30db90d15ef4edfef (diff) | |
| download | emacs-bff05d9ea2f28b76f5c0d45370ad7ab39ad61a86.tar.gz emacs-bff05d9ea2f28b76f5c0d45370ad7ab39ad61a86.zip | |
(allout-exposure): Remove macro and obsolete declaration.
Remove references to allout-exposure/change to allout-new-exposure.
| -rw-r--r-- | lisp/allout.el | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/lisp/allout.el b/lisp/allout.el index 4b1c152b6b1..6fb81f9f6f7 100644 --- a/lisp/allout.el +++ b/lisp/allout.el | |||
| @@ -3975,18 +3975,16 @@ need not be quoted in `allout-new-exposure'. | |||
| 3975 | 3975 | ||
| 3976 | Cursor is left at start position. | 3976 | Cursor is left at start position. |
| 3977 | 3977 | ||
| 3978 | Use this instead of obsolete `allout-exposure'. | ||
| 3979 | |||
| 3980 | Examples: | 3978 | Examples: |
| 3981 | \(allout-exposure (-1 () () () 1) 0) | 3979 | \(allout-new-exposure (-1 () () () 1) 0) |
| 3982 | Close current topic at current level so only the immediate | 3980 | Close current topic at current level so only the immediate |
| 3983 | subtopics are shown, except also show the children of the | 3981 | subtopics are shown, except also show the children of the |
| 3984 | third subtopic; and close the next topic at the current level. | 3982 | third subtopic; and close the next topic at the current level. |
| 3985 | \(allout-exposure : -1 0) | 3983 | \(allout-new-exposure : -1 0) |
| 3986 | Close all topics at current level to expose only their | 3984 | Close all topics at current level to expose only their |
| 3987 | immediate children, except for the last topic at the current | 3985 | immediate children, except for the last topic at the current |
| 3988 | level, in which even its immediate children are hidden. | 3986 | level, in which even its immediate children are hidden. |
| 3989 | \(allout-exposure -2 : -1 *) | 3987 | \(allout-new-exposure -2 : -1 *) |
| 3990 | Expose children and grandchildren of first topic at current | 3988 | Expose children and grandchildren of first topic at current |
| 3991 | level, and expose children of subsequent topics at current | 3989 | level, and expose children of subsequent topics at current |
| 3992 | level *except* for the last, which should be opened completely." | 3990 | level *except* for the last, which should be opened completely." |
| @@ -3995,17 +3993,6 @@ Examples: | |||
| 3995 | (allout-next-heading))) | 3993 | (allout-next-heading))) |
| 3996 | (error "allout-new-exposure: Can't find any outline topics")) | 3994 | (error "allout-new-exposure: Can't find any outline topics")) |
| 3997 | (list 'allout-expose-topic (list 'quote spec)))) | 3995 | (list 'allout-expose-topic (list 'quote spec)))) |
| 3998 | ;;;_ > allout-exposure '() | ||
| 3999 | (defmacro allout-exposure (&rest spec) | ||
| 4000 | "Literal frontend for `allout-old-expose-topic', doesn't evaluate arguments | ||
| 4001 | and retains start position." | ||
| 4002 | (list 'save-excursion | ||
| 4003 | '(if (not (or (allout-goto-prefix) | ||
| 4004 | (allout-next-heading))) | ||
| 4005 | (error "Can't find any outline topics")) | ||
| 4006 | (cons 'allout-old-expose-topic | ||
| 4007 | (mapcar (function (lambda (x) (list 'quote x))) spec)))) | ||
| 4008 | (make-obsolete 'allout-exposure 'allout-new-exposure "19.23") | ||
| 4009 | 3996 | ||
| 4010 | ;;;_ #7 Systematic outline presentation - copying, printing, flattening | 3997 | ;;;_ #7 Systematic outline presentation - copying, printing, flattening |
| 4011 | 3998 | ||