Merge pull request #1110 from tomnor/editorial

editorial revert of a change, remove trailing whitespace
This commit is contained in:
Levi Bostian 2015-05-25 10:22:18 -05:00
commit f46db74bd4

View File

@ -305,7 +305,7 @@ filename: learn-emacs-lisp.el
(defun boldify-names ()
(switch-to-buffer-other-window "*test*")
(goto-char (point-min))
(while (re-search-forward "Bonjour \\([^!]+\\)!" nil 't)
(while (re-search-forward "Bonjour \\(.+\\)!" nil 't)
(add-text-properties (match-beginning 1)
(match-end 1)
(list 'face 'bold)))
@ -318,7 +318,7 @@ filename: learn-emacs-lisp.el
;; The regular expression is "Bonjour \\(.+\\)!" and it reads:
;; the string "Bonjour ", and
;; a group of | this is the \\( ... \\) construct
;; any character not ! | this is the [^!]
;; any character | this is the .
;; possibly repeated | this is the +
;; and the "!" string.