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
a8bbe298
Commit
a8bbe298
authored
Dec 16, 2013
by
Leo Liu
Browse files
* progmodes/compile.el (compile-goto-error): Do not push-mark.
Remove NOMSG arg and all uses changed.
parent
5ae356d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/progmodes/compile.el
lisp/progmodes/compile.el
+3
-4
No files found.
lisp/ChangeLog
View file @
a8bbe298
2013-12-16 Leo Liu <sdl.web@gmail.com>
* progmodes/compile.el (compile-goto-error): Do not push-mark.
Remove NOMSG arg and all uses changed.
2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
* emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
...
...
lisp/progmodes/compile.el
View file @
a8bbe298
...
...
@@ -1004,7 +1004,7 @@ POS and RES.")
(let ((win (get-buffer-window buffer 0)))
(if win (set-window-point win pos)))
(if compilation-auto-jump-to-first-error
(compile-goto-error
nil t
))))
(compile-goto-error))))
;; This function is the central driver, called when font-locking to gather
;; all information needed to later jump to corresponding source code.
...
...
@@ -2325,9 +2325,9 @@ Prefix arg N says how many files to move backwards (or forwards, if negative)."
(
defalias
'compile-mouse-goto-error
'compile-goto-error
)
(
defun
compile-goto-error
(
&optional
event
nomsg
)
(
defun
compile-goto-error
(
&optional
event
)
"Visit the source for the error message at point.
Use this command in a compilation log buffer.
Sets the mark at point there.
"
Use this command in a compilation log buffer."
(
interactive
(
list
last-input-event
))
(
if
event
(
posn-set-point
(
event-end
event
)))
(
or
(
compilation-buffer-p
(
current-buffer
))
...
...
@@ -2336,7 +2336,6 @@ Use this command in a compilation log buffer. Sets the mark at point there."
(
if
(
get-text-property
(
point
)
'compilation-directory
)
(
dired-other-window
(
car
(
get-text-property
(
point
)
'compilation-directory
)))
(
push-mark
nil
nomsg
)
(
setq
compilation-current-error
(
point
))
(
next-error-internal
)))
...
...
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