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
4a816020
Commit
4a816020
authored
Jun 06, 2014
by
Mario Lang
Browse files
* emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
`recenter' if `current-buffer' is equal to `window-buffer'.
parent
d4e355b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/tabulated-list.el
lisp/emacs-lisp/tabulated-list.el
+2
-1
No files found.
lisp/ChangeLog
View file @
4a816020
2014-06-06 Mario Lang <mlang@delysid.org>
* emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
`recenter' if `current-buffer' is equal to `window-buffer'.
2014-06-05 Leo Liu <sdl.web@gmail.com>
* emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
...
...
lisp/emacs-lisp/tabulated-list.el
View file @
4a816020
...
...
@@ -323,7 +323,8 @@ to the entry with the same ID element as the current line."
(
if
saved-pt
(
progn
(
goto-char
saved-pt
)
(
move-to-column
saved-col
)
(
recenter
))
(
when
(
eq
(
window-buffer
)
(
current-buffer
))
(
recenter
)))
(
goto-char
(
point-min
)))))
(
defun
tabulated-list-print-entry
(
id
cols
)
...
...
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