aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorPaul Eggert2014-09-02 11:05:00 -0700
committerPaul Eggert2014-09-02 11:05:00 -0700
commitff8b9b273f8c24c37c11811a7bbb79b54449c0bd (patch)
treed71aec1ea62e9873ba8ddfe257fb331816ec000b /src/data.c
parent77ea21cdfcc4d41aaac7dad2d0ed9f74e02603e7 (diff)
downloademacs-ff8b9b273f8c24c37c11811a7bbb79b54449c0bd.tar.gz
emacs-ff8b9b273f8c24c37c11811a7bbb79b54449c0bd.zip
Minor cleanup of recent strlen-avoiding patch.
* src/fileio.c (CHECK_LENGTH): Remove. Rewrite callers so that they don't need it. (Fexpand_file_name) [DOS_NT]: Fix a case where directory length variable wasn't set.
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data.c b/src/data.c
index aa344dfaf2d..a155fe6f84a 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1952,9 +1952,9 @@ DEFUN ("local-variable-p", Flocal_variable_p, Slocal_variable_p,
1952 1, 2, 0, 1952 1, 2, 0,
1953 doc: /* Non-nil if VARIABLE has a local binding in buffer BUFFER. 1953 doc: /* Non-nil if VARIABLE has a local binding in buffer BUFFER.
1954BUFFER defaults to the current buffer. */) 1954BUFFER defaults to the current buffer. */)
1955 (register Lisp_Object variable, Lisp_Object buffer) 1955 (Lisp_Object variable, Lisp_Object buffer)
1956{ 1956{
1957 register struct buffer *buf = decode_buffer (buffer); 1957 struct buffer *buf = decode_buffer (buffer);
1958 struct Lisp_Symbol *sym; 1958 struct Lisp_Symbol *sym;
1959 1959
1960 CHECK_SYMBOL (variable); 1960 CHECK_SYMBOL (variable);