diff options
| author | Dave Love | 1999-03-06 19:06:40 +0000 |
|---|---|---|
| committer | Dave Love | 1999-03-06 19:06:40 +0000 |
| commit | b073b657d4f94478391bd2d7947048d8ed7a7557 (patch) | |
| tree | 381ae45df64b3b1930d9b0c0344a1944d848728d | |
| parent | f1653e8fe411fa91295d277fd653b70e3fefffec (diff) | |
| download | emacs-b073b657d4f94478391bd2d7947048d8ed7a7557.tar.gz emacs-b073b657d4f94478391bd2d7947048d8ed7a7557.zip | |
(ada-outline-level): Bind buffer-invisibility-spec.
| -rw-r--r-- | lisp/progmodes/ada-mode.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index 9e6321b6314..cac7227969c 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el | |||
| @@ -3822,9 +3822,11 @@ If that is the case remember the name of that function." | |||
| 3822 | 3822 | ||
| 3823 | ;; used by outline-minor-mode | 3823 | ;; used by outline-minor-mode |
| 3824 | (defun ada-outline-level () | 3824 | (defun ada-outline-level () |
| 3825 | (save-excursion | 3825 | ;; This so that `current-column' DTRT in otherwise-hidden text. |
| 3826 | (skip-chars-forward "\t ") | 3826 | (let (buffer-invisibility-spec) |
| 3827 | (current-column))) | 3827 | (save-excursion |
| 3828 | (skip-chars-forward "\t ") | ||
| 3829 | (current-column)))) | ||
| 3828 | 3830 | ||
| 3829 | ;;; | 3831 | ;;; |
| 3830 | ;;; generate body | 3832 | ;;; generate body |