]> git.eshelyaron.com Git - emacs.git/commitdiff
(glasses-convert-to-unreadable): Consider
authorGerd Moellmann <gerd@gnu.org>
Mon, 3 Sep 2001 08:20:54 +0000 (08:20 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 3 Sep 2001 08:20:54 +0000 (08:20 +0000)
underscores as in `glasses-make-readable'.

lisp/progmodes/glasses.el

index 45c887e2c242216ee7e93bb7e3f72125114a9216..7ba294d53af1fa6b96c47dbb7b118dbd1b619194 100644 (file)
@@ -229,7 +229,7 @@ recognized according to the current value of the variable `glasses-separator'."
            (goto-char (match-end n))))
        (when glasses-separate-parentheses-p
          (goto-char (point-min))
-         (while (re-search-forward "[a-zA-Z]\\( \\)\(" nil t)
+         (while (re-search-forward "[a-zA-Z]_*\\( \\)\(" nil t)
            (replace-match "" t nil nil 1))))))
   ;; nil must be returned to allow use in write file hooks
   nil)