diff options
| author | Stefan Kangas <stefan@marxist.se> | 2022-05-14 22:33:07 +0200 |
|---|---|---|
| committer | Stefan Kangas <stefan@marxist.se> | 2022-05-15 01:10:11 +0200 |
| commit | b5621dbe2f4289d69c5fae57d9870de9fc413e87 (patch) | |
| tree | db266487b6bc3e1713f99f0283ef2863c43349de /lisp/ido.el | |
| parent | b65a905edf57b9d6d24713c18ce26c6475b87c3e (diff) | |
| download | emacs-b5621dbe2f4289d69c5fae57d9870de9fc413e87.tar.gz | |
Delete some compat code for very old Emacs versions
* lisp/apropos.el (apropos-local-value):
* lisp/ido.el (ido-buffer-internal):
* lisp/leim/quail/ipa.el (ipa-x-sampa-prepend-to-keymap-entry):
* lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
* lisp/speedbar.el (speedbar-create-tag-hierarchy): Delete compat code
for very old versions of Emacs.
* lisp/gnus/nnmail.el (nnmail-fancy-expiry-target): Avoid using
obsolete name.
Diffstat (limited to 'lisp/ido.el')
| -rw-r--r-- | lisp/ido.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/ido.el b/lisp/ido.el index e068028d919..e5717d6e53c 100644 --- a/lisp/ido.el +++ b/lisp/ido.el @@ -2238,8 +2238,7 @@ If cursor is not at the end of the user input, move to end of input." (t (add-to-history 'buffer-name-history buf) (setq buf (get-buffer-create buf)) - (if (fboundp 'set-buffer-major-mode) - (set-buffer-major-mode buf)) + (set-buffer-major-mode buf) (ido-visit-buffer buf method t)))))) (defun ido-record-work-directory (&optional dir) |
