aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2010-05-24 17:01:10 -0400
committerStefan Monnier2010-05-24 17:01:10 -0400
commitdd9b52a6930c42eeefb45938df309bebe9acec37 (patch)
tree7250101ce756e75d824d82e3c21b5f8e1803d445
parentf5b416d2ef84115b7b0690dfff48be7ce3b4d79a (diff)
downloademacs-dd9b52a6930c42eeefb45938df309bebe9acec37.tar.gz
emacs-dd9b52a6930c42eeefb45938df309bebe9acec37.zip
* emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
Add delete-backward-char.
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
-rw-r--r--src/cmds.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index b593596a526..394169be99d 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -353,7 +353,7 @@ else the global value will be modified."
353(defvar byte-compile-interactive-only-functions 353(defvar byte-compile-interactive-only-functions
354 '(beginning-of-buffer end-of-buffer replace-string replace-regexp 354 '(beginning-of-buffer end-of-buffer replace-string replace-regexp
355 insert-file insert-buffer insert-file-literally previous-line next-line 355 insert-file insert-buffer insert-file-literally previous-line next-line
356 goto-line comint-run) 356 goto-line comint-run delete-backward-char)
357 "List of commands that are not meant to be called from Lisp.") 357 "List of commands that are not meant to be called from Lisp.")
358 358
359(defvar byte-compile-not-obsolete-vars nil 359(defvar byte-compile-not-obsolete-vars nil
diff --git a/src/cmds.c b/src/cmds.c
index fd337f378bb..3ad6f988b2d 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -270,7 +270,9 @@ DEFUN ("delete-backward-char", Fdelete_backward_char, Sdelete_backward_char,
270 doc: /* Delete the previous N characters (following if N is negative). 270 doc: /* Delete the previous N characters (following if N is negative).
271Optional second arg KILLFLAG non-nil means kill instead (save in kill ring). 271Optional second arg KILLFLAG non-nil means kill instead (save in kill ring).
272Interactively, N is the prefix arg, and KILLFLAG is set if 272Interactively, N is the prefix arg, and KILLFLAG is set if
273N was explicitly specified. */) 273N was explicitly specified.
274This is meant for interactive use only; from Lisp, better use `delete-char'
275with a negated argument. */)
274 (n, killflag) 276 (n, killflag)
275 Lisp_Object n, killflag; 277 Lisp_Object n, killflag;
276{ 278{