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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
eb486e20
Commit
eb486e20
authored
Jan 10, 2007
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(momentary-string-display): Use save-excursion.
parent
247bc272
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/subr.el
lisp/subr.el
+4
-4
No files found.
lisp/ChangeLog
View file @
eb486e20
2007-01-10 Richard Stallman <rms@gnu.org>
* subr.el (momentary-string-display): Use save-excursion.
* emacs-lisp/pp.el (pp-eval-expression): Once again eval the
argument, but read it as `X' does.
lisp/subr.el
View file @
eb486e20
...
...
@@ -1905,11 +1905,11 @@ If MESSAGE is nil, instructions to type EXIT-CHAR are displayed there."
(recenter (/ (window-height) 2)))
;; If that pushed message start off the screen,
;; scroll to start it at the top of the screen.
(
move-to-window-line 0)
(if (> (point) pos
)
(progn
(
save-excursion
(move-to-window-line 0
)
(if (> (point) pos)
(goto-char pos)
(recenter 0)))
(recenter 0)))
(message (or message "Type %s to continue editing.")
(single-key-description exit-char))
(let (char)
...
...
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