diff options
| author | Markus Rost | 2002-12-16 01:01:39 +0000 |
|---|---|---|
| committer | Markus Rost | 2002-12-16 01:01:39 +0000 |
| commit | 9471aeec5c0fc7645d270c3e1e08b4605fc68a03 (patch) | |
| tree | 9fbe72713b0c57bec702792a03d2751c8d0066bd | |
| parent | aad94676b75af17436d50b9ede870d098700a694 (diff) | |
| download | emacs-9471aeec5c0fc7645d270c3e1e08b4605fc68a03.tar.gz emacs-9471aeec5c0fc7645d270c3e1e08b4605fc68a03.zip | |
(allout-init): Give report also in case auto-activation was inhibited.
(my-mark-marker): Test for feature 'xemacs instead of a string parse.
| -rw-r--r-- | lisp/ChangeLog | 16 | ||||
| -rw-r--r-- | lisp/allout.el | 15 |
2 files changed, 24 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6a0b63584d5..8d4cdddcd39 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2002-12-16 Markus Rost <rost@math.ohio-state.edu> | ||
| 2 | |||
| 3 | * allout.el: Avoid name conflicts with outline.el. Replace | ||
| 4 | globally string "outline-" with string "allout-". Replaced 1446 | ||
| 5 | occurrences; there was no string "allout-" before the change and | ||
| 6 | there seems to be no dependency on outline.el. | ||
| 7 | Put `quotes' around many function and variable names. | ||
| 8 | Doc changes to adjust to the change to prefix "allout-". Don't | ||
| 9 | provide 'outline. Use " Allout" as mode line string, not " Outl". | ||
| 10 | Put group 'allout in group 'editing. Update Copyright notice. | ||
| 11 | Autoload `allout-init'. | ||
| 12 | (allout-init): Give report also in case auto-activation was | ||
| 13 | inhibited. | ||
| 14 | (my-mark-marker): Test for feature 'xemacs instead of a string | ||
| 15 | parse. | ||
| 16 | |||
| 1 | 2002-12-15 David Kastrup <David.Kastrup@t-online.de> | 17 | 2002-12-15 David Kastrup <David.Kastrup@t-online.de> |
| 2 | 18 | ||
| 3 | * emacs-lisp/autoload.el (autoload-ensure-default-file): insert | 19 | * emacs-lisp/autoload.el (autoload-ensure-default-file): insert |
diff --git a/lisp/allout.el b/lisp/allout.el index 6c9aaefa8ff..3fc20d95208 100644 --- a/lisp/allout.el +++ b/lisp/allout.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;; Author: Ken Manheimer <klm@python.org> | 5 | ;; Author: Ken Manheimer <klm@python.org> |
| 6 | ;; Maintainer: Ken Manheimer <klm@python.org> | 6 | ;; Maintainer: Ken Manheimer <klm@python.org> |
| 7 | ;; Created: Dec 1991 - first release to usenet | 7 | ;; Created: Dec 1991 - first release to usenet |
| 8 | ;; Version: $Id: allout.el,v 1.36 2002/12/16 00:26:22 rost Exp $|| | 8 | ;; Version: $Id: allout.el,v 1.37 2002/12/16 00:42:23 rost Exp $|| |
| 9 | ;; Keywords: outlines mode wp languages | 9 | ;; Keywords: outlines mode wp languages |
| 10 | 10 | ||
| 11 | ;; This file is part of GNU Emacs. | 11 | ;; This file is part of GNU Emacs. |
| @@ -508,7 +508,7 @@ behavior." | |||
| 508 | ;;;_ : Version | 508 | ;;;_ : Version |
| 509 | ;;;_ = allout-version | 509 | ;;;_ = allout-version |
| 510 | (defvar allout-version | 510 | (defvar allout-version |
| 511 | (let ((rcs-rev "$Revision: 1.36 $")) | 511 | (let ((rcs-rev "$Revision: 1.37 $")) |
| 512 | (condition-case err | 512 | (condition-case err |
| 513 | (save-match-data | 513 | (save-match-data |
| 514 | (string-match "Revision: \\([0-9]+\\.[0-9]+\\)" rcs-rev) | 514 | (string-match "Revision: \\([0-9]+\\.[0-9]+\\)" rcs-rev) |
| @@ -984,10 +984,11 @@ the following two lines in your emacs init file: | |||
| 984 | (if (interactive-p) | 984 | (if (interactive-p) |
| 985 | (message "Allout outline mode auto-activation inhibited."))) | 985 | (message "Allout outline mode auto-activation inhibited."))) |
| 986 | ((eq mode 'report) | 986 | ((eq mode 'report) |
| 987 | (if (not (memq hook find-file-hooks)) | 987 | (if (memq hook find-file-hooks) |
| 988 | (allout-init nil) | 988 | ;; Just punt and use the reports from each of the modes: |
| 989 | ;; Just punt and use the reports from each of the modes: | 989 | (allout-init (symbol-value curr-mode)) |
| 990 | (allout-init (symbol-value curr-mode)))) | 990 | (allout-init nil) |
| 991 | (message "Allout outline mode auto-activation inhibited."))) | ||
| 991 | (t (add-hook 'find-file-hooks hook) | 992 | (t (add-hook 'find-file-hooks hook) |
| 992 | (set curr-mode ; `set', not `setq'! | 993 | (set curr-mode ; `set', not `setq'! |
| 993 | (cond ((eq mode 'activate) | 994 | (cond ((eq mode 'activate) |
| @@ -4735,7 +4736,7 @@ function. If HOOK is void, it is first set to nil." | |||
| 4735 | 4736 | ||
| 4736 | GNU XEmacs takes two optional args, while mainline GNU Emacs does not, | 4737 | GNU XEmacs takes two optional args, while mainline GNU Emacs does not, |
| 4737 | so pass them along when appropriate." | 4738 | so pass them along when appropriate." |
| 4738 | (if (string-match " XEmacs " emacs-version) | 4739 | (if (featurep 'xemacs) |
| 4739 | (mark-marker force buffer) | 4740 | (mark-marker force buffer) |
| 4740 | (mark-marker))) | 4741 | (mark-marker))) |
| 4741 | 4742 | ||