diff options
| author | Glenn Morris | 2018-03-23 16:28:24 -0400 |
|---|---|---|
| committer | Glenn Morris | 2018-03-23 16:28:24 -0400 |
| commit | 582f46cbe2d53a09388e96e1c069524460f7105f (patch) | |
| tree | 598e37491502483d82870f33aef081954ee726d0 | |
| parent | c5a363080cd29742454aeaebb09d5da06babd4e3 (diff) | |
| download | emacs-582f46cbe2d53a09388e96e1c069524460f7105f.tar.gz emacs-582f46cbe2d53a09388e96e1c069524460f7105f.zip | |
Remove some declare-function stub definitions
* lisp/emulation/viper-cmd.el, lisp/emulation/viper-keym.el:
* lisp/emulation/viper-util.el, lisp/net/newst-plainview.el:
* lisp/net/newst-treeview.el, lisp/ps-def.el, lisp/vc/ediff.el:
* lisp/vc/ediff-util.el, lisp/vc/ediff-wind.el:
Remove stub declare-function definitions.
It exists since Emacs 22.2, released 10 years ago.
Most of these files are using even newer features, such as
lexical-binding and cl-lib anyway, making the stubs pointless.
| -rw-r--r-- | lisp/emulation/viper-cmd.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/viper-keym.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/viper-util.el | 3 | ||||
| -rw-r--r-- | lisp/net/newst-plainview.el | 1 | ||||
| -rw-r--r-- | lisp/net/newst-treeview.el | 1 | ||||
| -rw-r--r-- | lisp/ps-def.el | 3 | ||||
| -rw-r--r-- | lisp/vc/ediff-util.el | 3 | ||||
| -rw-r--r-- | lisp/vc/ediff-wind.el | 4 | ||||
| -rw-r--r-- | lisp/vc/ediff.el | 4 |
9 files changed, 0 insertions, 23 deletions
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el index 224ce5802c6..3c66abe3e56 100644 --- a/lisp/emulation/viper-cmd.el +++ b/lisp/emulation/viper-cmd.el | |||
| @@ -45,8 +45,6 @@ | |||
| 45 | (defvar undo-beg-posn) | 45 | (defvar undo-beg-posn) |
| 46 | (defvar undo-end-posn) | 46 | (defvar undo-end-posn) |
| 47 | 47 | ||
| 48 | (eval-and-compile | ||
| 49 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest _)))) | ||
| 50 | ;; end pacifier | 48 | ;; end pacifier |
| 51 | 49 | ||
| 52 | 50 | ||
diff --git a/lisp/emulation/viper-keym.el b/lisp/emulation/viper-keym.el index e72842232e4..5196ca6ac38 100644 --- a/lisp/emulation/viper-keym.el +++ b/lisp/emulation/viper-keym.el | |||
| @@ -32,8 +32,6 @@ | |||
| 32 | (defvar viper-ex-style-editing) | 32 | (defvar viper-ex-style-editing) |
| 33 | (defvar viper-ex-style-motion) | 33 | (defvar viper-ex-style-motion) |
| 34 | 34 | ||
| 35 | (eval-and-compile | ||
| 36 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) | ||
| 37 | ;; end pacifier | 35 | ;; end pacifier |
| 38 | 36 | ||
| 39 | (require 'viper-util) | 37 | (require 'viper-util) |
diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el index 9fd68b7a61f..2e759bc13be 100644 --- a/lisp/emulation/viper-util.el +++ b/lisp/emulation/viper-util.el | |||
| @@ -42,9 +42,6 @@ | |||
| 42 | 42 | ||
| 43 | (require 'ring) | 43 | (require 'ring) |
| 44 | 44 | ||
| 45 | (eval-and-compile | ||
| 46 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) | ||
| 47 | |||
| 48 | ;; end pacifier | 45 | ;; end pacifier |
| 49 | 46 | ||
| 50 | (require 'viper-init) | 47 | (require 'viper-init) |
diff --git a/lisp/net/newst-plainview.el b/lisp/net/newst-plainview.el index 1e37276a242..889404ef098 100644 --- a/lisp/net/newst-plainview.el +++ b/lisp/net/newst-plainview.el | |||
| @@ -562,7 +562,6 @@ This does NOT start the retrieval timers." | |||
| 562 | (newsticker--debug-msg "Getting news for %s" (symbol-name feed)) | 562 | (newsticker--debug-msg "Getting news for %s" (symbol-name feed)) |
| 563 | (newsticker-get-news (symbol-name feed))))) | 563 | (newsticker-get-news (symbol-name feed))))) |
| 564 | 564 | ||
| 565 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest r))) | ||
| 566 | (declare-function w3m-toggle-inline-image "ext:w3m" (&optional force no-cache)) | 565 | (declare-function w3m-toggle-inline-image "ext:w3m" (&optional force no-cache)) |
| 567 | 566 | ||
| 568 | (defun newsticker-w3m-show-inline-images () | 567 | (defun newsticker-w3m-show-inline-images () |
diff --git a/lisp/net/newst-treeview.el b/lisp/net/newst-treeview.el index b2997d71b19..59a57293ee8 100644 --- a/lisp/net/newst-treeview.el +++ b/lisp/net/newst-treeview.el | |||
| @@ -259,7 +259,6 @@ their id stays constant." | |||
| 259 | 259 | ||
| 260 | ;; ====================================================================== | 260 | ;; ====================================================================== |
| 261 | 261 | ||
| 262 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest _))) | ||
| 263 | (declare-function w3m-toggle-inline-images "ext:w3m" (&optional force no-cache)) | 262 | (declare-function w3m-toggle-inline-images "ext:w3m" (&optional force no-cache)) |
| 264 | (defvar w3m-fill-column) | 263 | (defvar w3m-fill-column) |
| 265 | (defvar w3-maximum-line-length) | 264 | (defvar w3-maximum-line-length) |
diff --git a/lisp/ps-def.el b/lisp/ps-def.el index f34473bbb6e..d0cd7625a41 100644 --- a/lisp/ps-def.el +++ b/lisp/ps-def.el | |||
| @@ -31,9 +31,6 @@ | |||
| 31 | 31 | ||
| 32 | ;;; Code: | 32 | ;;; Code: |
| 33 | 33 | ||
| 34 | (eval-and-compile | ||
| 35 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest _r)))) | ||
| 36 | |||
| 37 | (declare-function ps-plot-with-face "ps-print" (from to face)) | 34 | (declare-function ps-plot-with-face "ps-print" (from to face)) |
| 38 | (declare-function ps-plot-string "ps-print" (string)) | 35 | (declare-function ps-plot-string "ps-print" (string)) |
| 39 | 36 | ||
diff --git a/lisp/vc/ediff-util.el b/lisp/vc/ediff-util.el index 1158b7146e2..104a5782682 100644 --- a/lisp/vc/ediff-util.el +++ b/lisp/vc/ediff-util.el | |||
| @@ -39,9 +39,6 @@ | |||
| 39 | 39 | ||
| 40 | (defvar ediff-after-quit-hook-internal nil) | 40 | (defvar ediff-after-quit-hook-internal nil) |
| 41 | 41 | ||
| 42 | (eval-and-compile | ||
| 43 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest _r)))) | ||
| 44 | |||
| 45 | ;; end pacifier | 42 | ;; end pacifier |
| 46 | 43 | ||
| 47 | 44 | ||
diff --git a/lisp/vc/ediff-wind.el b/lisp/vc/ediff-wind.el index 67e9bf2d9de..0535aa67253 100644 --- a/lisp/vc/ediff-wind.el +++ b/lisp/vc/ediff-wind.el | |||
| @@ -38,10 +38,6 @@ | |||
| 38 | (defvar frame-icon-title-format) | 38 | (defvar frame-icon-title-format) |
| 39 | (defvar ediff-diff-status) | 39 | (defvar ediff-diff-status) |
| 40 | 40 | ||
| 41 | ;; declare-function does not exist in XEmacs | ||
| 42 | (eval-and-compile | ||
| 43 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest _r)))) | ||
| 44 | |||
| 45 | (require 'ediff-init) | 41 | (require 'ediff-init) |
| 46 | (require 'ediff-help) | 42 | (require 'ediff-help) |
| 47 | ;; end pacifier | 43 | ;; end pacifier |
diff --git a/lisp/vc/ediff.el b/lisp/vc/ediff.el index a5e8022f1c8..32a6820fe7d 100644 --- a/lisp/vc/ediff.el +++ b/lisp/vc/ediff.el | |||
| @@ -112,10 +112,6 @@ | |||
| 112 | 112 | ||
| 113 | (provide 'ediff) | 113 | (provide 'ediff) |
| 114 | 114 | ||
| 115 | ;; Compiler pacifier | ||
| 116 | (eval-and-compile | ||
| 117 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest _r)))) | ||
| 118 | |||
| 119 | (require 'ediff-util) | 115 | (require 'ediff-util) |
| 120 | ;; end pacifier | 116 | ;; end pacifier |
| 121 | 117 | ||