Commit 7aee34d3 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(glasses-make-readable): Consider

underscores too when separating a parenthesis.
parent a01325b8
2001-06-25 Milan Zamazal <pdm@zamazal.org>
* progmodes/glasses.el (glasses-make-readable): Consider
underscores too when separating a parenthesis.
2001-06-24 Eli Zaretskii <eliz@is.elta.co.il>
 
* bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
......
;;; glasses.el --- make cantReadThis readable
;; Copyright (C) 1999, 2000 Free Software Foundation, Inc.
;; Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
;; Author: Milan Zamazal <pdm@freesoft.cz>
;; Maintainer: Milan Zamazal <pdm@freesoft.cz>
;; Author: Milan Zamazal <pdm@zamazal.org>
;; Maintainer: Milan Zamazal <pdm@zamazal.org>
;; Keywords: tools
;; This file is part of GNU Emacs.
......@@ -198,7 +198,7 @@ CATEGORY is the overlay category. If it is nil, use the `glasses' category."
;; Parentheses
(when glasses-separate-parentheses-p
(goto-char beg)
(while (re-search-forward "[a-zA-Z]\\(\(\\)" end t)
(while (re-search-forward "[a-zA-Z]_*\\(\(\\)" end t)
(glasses-make-overlay (match-beginning 1) (match-end 1)
'glasses-parenthesis)))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment