Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
25fbf2c4
Commit
25fbf2c4
authored
Apr 10, 2000
by
Gerd Moellmann
Browse files
(with-buffer-unmodified): Fix bug introduced by `)'
at the wrong place.
parent
857e88e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/jit-lock.el
lisp/jit-lock.el
+2
-2
No files found.
lisp/ChangeLog
View file @
25fbf2c4
2000-04-10 Gerd Moellmann <gerd@gnu.org>
* jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
at the wrong place.
2000-04-09 Gerd Moellmann <gerd@gnu.org>
* progmodes/ebrowse-ffh.el: New file.
...
...
lisp/jit-lock.el
View file @
25fbf2c4
...
...
@@ -38,8 +38,8 @@
(
let
((
modified
(
make-symbol
"modified"
)))
`
(
let
((
,
modified
(
buffer-modified-p
)))
,@
body
(
unless
,
modified
)
(
restore-buffer-modified-p
nil
))))
(
unless
,
modified
(
restore-buffer-modified-p
nil
))))
)
(
defmacro
with-buffer-prepared-for-font-lock
(
&rest
body
)
"Execute BODY in current buffer, overriding several variables.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment