aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/subr.el11
1 files changed, 3 insertions, 8 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 080c7c5ce4b..5ae06d130ef 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -203,15 +203,10 @@ in KEYMAP as NEWDEF those chars which are defined as OLDDEF in OLDMAP."
203 (cons 'progn body) 203 (cons 'progn body)
204 (list 'store-match-data original))))) 204 (list 'store-match-data original)))))
205 205
206;; Avoids useless byte-compilation. 206(defun ignore (&rest ignore)
207;; In the future, would be better to fix byte compiler 207 "Do nothing.
208;; not to really compile in cases like this,
209;; and use defun here.
210(fset 'ignore '(lambda (&rest ignore)
211 "Do nothing.
212Accept any number of arguments, but ignore them." 208Accept any number of arguments, but ignore them."
213 nil)) 209 nil)
214
215 210
216; old names 211; old names
217(fset 'make-syntax-table 'copy-syntax-table) 212(fset 'make-syntax-table 'copy-syntax-table)