Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Peter Liljenberg
lyskom-elisp-client
Commits
b9b70260
Commit
b9b70260
authored
Jun 19, 2014
by
Christer Ekholm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use with-current-buffer instead of save-excursion+set-buffer
To silence warning in emacs-24.
parent
6fce19f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/lyskom-rest.el
src/lyskom-rest.el
+1
-2
No files found.
src/ChangeLog
View file @
b9b70260
2014-06-19 Christer Ekholm <che@chrekh.se>
* lyskom-rest.el (lyskom-doc-view-text): Use with-current-buffer
instead of save-excursion+set-buffer to silence warnings in
emacs-24. This change is not compatible with emacs older than
version 20.1
* utilities.el: Removed unused function lyskom-buffer-display-message.
2014-06-17 Christer Ekholm <che@chrekh.se>
...
...
src/lyskom-rest.el
View file @
b9b70260
...
...
@@ -2601,8 +2601,7 @@ in lyskom-messages."
(
defun
lyskom-doc-view-text
(
text-no
)
(
let
((
buf
(
lyskom-traverse
buf
(
lyskom-buffers-of-category
'doc-view
)
(
save-excursion
(
set-buffer
buf
)
(
with-current-buffer
buf
(
when
(
and
(
boundp
'lyskom-doc-view-text-no
)
(
eq
lyskom-doc-view-text-no
text-no
))
(
lyskom-traverse-break
buf
))))))
...
...
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