diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/glasses.el | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5b2b710168f..f2eead76bdc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-06-25 Milan Zamazal <pdm@zamazal.org> | ||
| 2 | |||
| 3 | * progmodes/glasses.el (glasses-make-readable): Consider | ||
| 4 | underscores too when separating a parenthesis. | ||
| 5 | |||
| 1 | 2001-06-24 Eli Zaretskii <eliz@is.elta.co.il> | 6 | 2001-06-24 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 7 | ||
| 3 | * bookmark.el (bookmark-insert-location, bookmark-bmenu-list) | 8 | * bookmark.el (bookmark-insert-location, bookmark-bmenu-list) |
diff --git a/lisp/progmodes/glasses.el b/lisp/progmodes/glasses.el index f1c81fe44b5..45c887e2c24 100644 --- a/lisp/progmodes/glasses.el +++ b/lisp/progmodes/glasses.el | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | ;;; glasses.el --- make cantReadThis readable | 1 | ;;; glasses.el --- make cantReadThis readable |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999, 2000 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Milan Zamazal <pdm@freesoft.cz> | 5 | ;; Author: Milan Zamazal <pdm@zamazal.org> |
| 6 | ;; Maintainer: Milan Zamazal <pdm@freesoft.cz> | 6 | ;; Maintainer: Milan Zamazal <pdm@zamazal.org> |
| 7 | ;; Keywords: tools | 7 | ;; Keywords: tools |
| 8 | 8 | ||
| 9 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
| @@ -198,7 +198,7 @@ CATEGORY is the overlay category. If it is nil, use the `glasses' category." | |||
| 198 | ;; Parentheses | 198 | ;; Parentheses |
| 199 | (when glasses-separate-parentheses-p | 199 | (when glasses-separate-parentheses-p |
| 200 | (goto-char beg) | 200 | (goto-char beg) |
| 201 | (while (re-search-forward "[a-zA-Z]\\(\(\\)" end t) | 201 | (while (re-search-forward "[a-zA-Z]_*\\(\(\\)" end t) |
| 202 | (glasses-make-overlay (match-beginning 1) (match-end 1) | 202 | (glasses-make-overlay (match-beginning 1) (match-end 1) |
| 203 | 'glasses-parenthesis))))))) | 203 | 'glasses-parenthesis))))))) |
| 204 | 204 | ||