; Indentation fixes

This commit is contained in:
Bastian Beischer 2017-10-19 13:03:11 +03:00 committed by Dmitry Gutov
parent 4d578d432d
commit 25f83fa7c5
2 changed files with 3 additions and 3 deletions

View file

@ -467,7 +467,7 @@ its contents.
(error "Could not location include %s" (error "Could not location include %s"
(semantic-tag-name tag))) (semantic-tag-name tag)))
((get-file-buffer file) ((get-file-buffer file)
(pop-to-buffer-same-window (get-file-buffer file))) (pop-to-buffer-same-window (get-file-buffer file)))
((stringp file) ((stringp file)
(find-file file)) (find-file file))
)))) ))))

View file

@ -530,11 +530,11 @@ Some tags such as includes have other reference features."
;; A tag ;; A tag
((semantic-tag-p result) ((semantic-tag-p result)
(semantic-go-to-tag result) (semantic-go-to-tag result)
(pop-to-buffer-same-window (current-buffer)) (pop-to-buffer-same-window (current-buffer))
(semantic-momentary-highlight-tag result)) (semantic-momentary-highlight-tag result))
;; Buffers ;; Buffers
((bufferp result) ((bufferp result)
(pop-to-buffer-same-window result) (pop-to-buffer-same-window result)
(pulse-momentary-highlight-one-line (point))) (pulse-momentary-highlight-one-line (point)))
;; Files ;; Files
((and (stringp result) (file-exists-p result)) ((and (stringp result) (file-exists-p result))