Skip to content

Commit

Permalink
muse-colors: Fix bug found by recent Emacs 22 builds
Browse files Browse the repository at this point in the history
2006-09-26  Michael Olson  <mwolson@gnu.org>

	* lisp/muse-colors.el (muse-use-font-lock): Don't quote
	beginning-of-line.  This should fix a bug that was noticed in
	recent Emacs 22 builds.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-211
  • Loading branch information
mwolson committed Sep 26, 2006
1 parent 7a718f5 commit 6bdef58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,5 +1,9 @@
2006-09-26 Michael Olson <mwolson@gnu.org>

* lisp/muse-colors.el (muse-use-font-lock): Don't quote
beginning-of-line. This should fix a bug that was noticed in
recent Emacs 22 builds.

* lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
eval-and-compile block to avoid a compiler warning.

Expand Down
2 changes: 1 addition & 1 deletion lisp/muse-colors.el
Expand Up @@ -454,7 +454,7 @@ affect the match data results."
(muse-add-to-invisibility-spec 'muse)
(set (make-local-variable 'font-lock-multiline) 'undecided)
(set (make-local-variable 'font-lock-defaults)
`(nil t nil nil 'beginning-of-line
`(nil t nil nil beginning-of-line
(font-lock-fontify-region-function . muse-colors-region)
(font-lock-unfontify-region-function
. muse-unhighlight-region)))
Expand Down

0 comments on commit 6bdef58

Please sign in to comment.