• Chong Yidong's avatar
    Remove pop-to-buffer-same-window. · c3313451
    Chong Yidong authored
    * lisp/window.el (pop-to-buffer-1, pop-to-buffer-same-window): Deleted.
    (pop-to-buffer): Change interactive spec.  Pass second argument
    directly to display-buffer.
    (display-buffer): Fix interactive spec.  Use functionp to
    distinguish between a function and a list of functions.
    
    * lisp/abbrev.el (edit-abbrevs):
    * lisp/arc-mode.el (archive-extract):
    * lisp/autoinsert.el (auto-insert):
    * lisp/bookmark.el (bookmark-bmenu-list):
    * lisp/files.el (find-file):
    * lisp/view.el (view-buffer):
    * lisp/progmodes/compile.el (compilation-goto-locus):
    * lisp/textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
    
    * lisp/org/ob-ref.el (org-babel-ref-goto-headline-id):
    * lisp/org/org.el (org-get-location, org-tree-to-indirect-buffer)
    (org-mark-ring-goto, org-refile, org-add-log-note)
    (org-revert-all-org-buffers, org-switchb)
    (org-cycle-agenda-files, org-submit-bug-report)
    (org-goto-marker-or-bmk):
    * lisp/org/org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
    * lisp/org/org-capture.el (org-capture-goto-target)
    (org-capture-fill-template):
    * lisp/org/org-clock.el (org-clock-goto):
    * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file):
    * lisp/org/org-exp.el (org-export-as-org):
    * lisp/org/org-feed.el (org-feed-show-raw-feed):
    * lisp/org/org-html.el (org-export-htmlize-generate-css):
    * lisp/org/org-id.el (org-id-goto):
    * lisp/org/org-irc.el (org-irc-visit-erc):
    * lisp/org/org-mobile.el (org-mobile-apply):
    * lisp/org/org-publish.el (org-publish-org-to, org-publish-find-date):
    * lisp/org/org-remember.el (org-go-to-remember-target):
    * lisp/org/org-src.el (org-src-switch-to-buffer)
    (org-edit-fixed-width-region): Use switch-to-buffer.
    
    * lisp/org/org-compat.el (org-pop-to-buffer-same-window): Deleted.
    c3313451
org-src.el 30.8 KB