mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
Remove some ancient Emacs compat code
* lisp/cedet/mode-local.el (mode-local-describe-bindings-1): * lisp/cedet/semantic/senator.el (senator-copy-tag-to-register): * lisp/gnus/nnrss.el (nnrss-opml-export): * lisp/net/newst-backend.el (newsticker-opml-export): * lisp/textmodes/reftex.el (reftex-mode-menu): * lisp/woman.el (woman-menu): Remove some ancient Emacs compat code.
This commit is contained in:
parent
01f48477d0
commit
3e3ba233cf
@ -877,10 +877,9 @@ META-NAME is a cons (OVERLOADABLE-SYMBOL . MAJOR-MODE)."
|
||||
"Display mode local bindings active in BUFFER-OR-MODE.
|
||||
Optional argument INTERACTIVE-P is non-nil if the calling command was
|
||||
invoked interactively."
|
||||
(when (fboundp 'help-setup-xref)
|
||||
(help-setup-xref
|
||||
(list 'mode-local-describe-bindings-1 buffer-or-mode)
|
||||
interactive-p))
|
||||
(help-setup-xref
|
||||
(list 'mode-local-describe-bindings-1 buffer-or-mode)
|
||||
interactive-p)
|
||||
(with-output-to-temp-buffer (help-buffer) ; "*Help*"
|
||||
(with-current-buffer standard-output
|
||||
(mode-local-describe-bindings-2 buffer-or-mode))))
|
||||
|
@ -735,12 +735,9 @@ yanked to."
|
||||
Optional argument KILL-FLAG will delete the text of the tag to the
|
||||
kill ring.
|
||||
|
||||
Interactively, reads the register using `register-read-with-preview',
|
||||
if available."
|
||||
(interactive (list (if (fboundp 'register-read-with-preview)
|
||||
(register-read-with-preview "Tag to register: ")
|
||||
(read-char "Tag to register: "))
|
||||
current-prefix-arg))
|
||||
Interactively, reads the register using `register-read-with-preview'."
|
||||
(interactive (list (register-read-with-preview "Tag to register: ")
|
||||
current-prefix-arg))
|
||||
(semantic-fetch-tags)
|
||||
(let ((ft (semantic-obtain-foreign-tag)))
|
||||
(when ft
|
||||
|
@ -756,8 +756,7 @@ Export subscriptions to a buffer in OPML Format."
|
||||
(insert " </body>\n"
|
||||
"</opml>\n"))
|
||||
(pop-to-buffer "*OPML Export*")
|
||||
(when (fboundp 'sgml-mode)
|
||||
(sgml-mode)))
|
||||
(sgml-mode))
|
||||
|
||||
(defun nnrss-generate-download-script ()
|
||||
"Generate a download script in the current buffer.
|
||||
|
@ -2217,8 +2217,7 @@ Export subscriptions to a buffer in OPML Format."
|
||||
(newsticker--opml-insert-feed (car f) 4)))
|
||||
(insert " </body>\n</opml>\n")))
|
||||
(pop-to-buffer "*OPML Export*")
|
||||
(when (fboundp 'sgml-mode)
|
||||
(sgml-mode)))
|
||||
(sgml-mode))
|
||||
|
||||
(defun newsticker--opml-insert-elt (elt depth)
|
||||
"Insert an OPML ELT with indentation level DEPTH."
|
||||
|
@ -2257,8 +2257,7 @@ IGNORE-WORDS List of words which should be removed from the string."
|
||||
("Customize"
|
||||
["Browse RefTeX Group" reftex-customize t]
|
||||
"--"
|
||||
["Build Full Customize Menu" reftex-create-customize-menu
|
||||
(fboundp 'customize-menu-create)])
|
||||
["Build Full Customize Menu" reftex-create-customize-menu])
|
||||
("Documentation"
|
||||
["Info" reftex-info t]
|
||||
["Commentary" reftex-show-commentary t])))
|
||||
|
@ -1813,8 +1813,7 @@ Argument EVENT is the invoking mouse event."
|
||||
"--"
|
||||
["Describe (Wo)Man Mode" describe-mode t]
|
||||
["Mini Help" woman-mini-help t]
|
||||
,@(if (fboundp 'customize-group)
|
||||
'(["Customize..." (customize-group 'woman) t]))
|
||||
["Customize..." (customize-group 'woman) t]
|
||||
"--"
|
||||
("Advanced"
|
||||
["View Source" (view-file woman-last-file-name) woman-last-file-name]
|
||||
|
Loading…
Reference in New Issue
Block a user