From: Stephen Leake Date: Tue, 1 Sep 2015 10:10:52 +0000 (-0500) Subject: Delete Emacs 25 test in mode-local.el X-Git-Tag: emacs-25.0.90~1230^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4257c29d5eaa1f4ead3b58022127efb8c57b39e2;p=emacs.git Delete Emacs 25 test in mode-local.el * lisp/cedet/mode-local.el (describe-mode-local-overload): Fix missed an edit in previous commit. --- diff --git a/lisp/cedet/mode-local.el b/lisp/cedet/mode-local.el index 95cf65fdda5..72512c6e6bc 100644 --- a/lisp/cedet/mode-local.el +++ b/lisp/cedet/mode-local.el @@ -643,13 +643,11 @@ SYMBOL is a function that can be overridden." (insert (overload-docstring-extension symbol) "\n\n") (insert (format-message "default function: `%s'\n" default)) - (when (and (boundp 'describe-function-orig-buffer) ;; added in Emacs 25 - describe-function-orig-buffer) - (if override - (insert (format-message "\noverride in buffer '%s': `%s'\n" - describe-function-orig-buffer override)) - (insert (format-message "\nno override in buffer '%s'\n" - describe-function-orig-buffer)))) + (if override + (insert (format-message "\noverride in buffer '%s': `%s'\n" + describe-function-orig-buffer override)) + (insert (format-message "\nno override in buffer '%s'\n" + describe-function-orig-buffer))) (mapatoms (lambda (sym) (when (get sym 'mode-local-symbol-table) (push sym modes)))