Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
51cab52b
Commit
51cab52b
authored
Jun 20, 2011
by
Paul Eggert
Browse files
Merge from trunk.
parents
171e2a58
ca530739
Changes
42
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
643 additions
and
361 deletions
+643
-361
ChangeLog
ChangeLog
+9
-0
autogen/configure
autogen/configure
+157
-131
configure.in
configure.in
+13
-16
doc/misc/ChangeLog
doc/misc/ChangeLog
+142
-140
doc/misc/eshell.texi
doc/misc/eshell.texi
+1
-1
etc/NEWS
etc/NEWS
+3
-0
lib/unistd.in.h
lib/unistd.in.h
+2
-0
lisp/ChangeLog
lisp/ChangeLog
+179
-2
lisp/cus-edit.el
lisp/cus-edit.el
+2
-3
lisp/cus-face.el
lisp/cus-face.el
+27
-24
lisp/dired-x.el
lisp/dired-x.el
+6
-3
lisp/dired.el
lisp/dired.el
+1
-1
lisp/emacs-lisp/rx.el
lisp/emacs-lisp/rx.el
+17
-0
lisp/emacs-lisp/syntax.el
lisp/emacs-lisp/syntax.el
+3
-2
lisp/files.el
lisp/files.el
+1
-0
lisp/gnus/ChangeLog
lisp/gnus/ChangeLog
+9
-0
lisp/gnus/auth-source.el
lisp/gnus/auth-source.el
+55
-21
lisp/info.el
lisp/info.el
+1
-1
lisp/international/mule-cmds.el
lisp/international/mule-cmds.el
+15
-15
lisp/mail/mailabbrev.el
lisp/mail/mailabbrev.el
+0
-1
No files found.
ChangeLog
View file @
51cab52b
2011-06-19 Paul Eggert <eggert@cs.ucla.edu>
* lib/unistd.in.h, m4/getloadavg.m4: Merge from gnulib.
2011-06-17 Glenn Morris <rgm@gnu.org>
* configure.in: Restore the behavior of checking crt-dir only
when the user specified it (not all platforms use it).
2011-06-16 Paul Eggert <eggert@cs.ucla.edu>
* m4/lstat.m4: Merge from gnulib (Bug#8878).
...
...
autogen/configure
View file @
51cab52b
...
...
@@ -7658,6 +7658,40 @@ if test "X$CRT_DIR" = "X"; then
## Default is /usr/lib.
test "X$CRT_DIR" = "X" && CRT_DIR=/usr/lib
## If we're using gcc, try to determine it automatically by asking
## gcc. [If this doesn't work, CRT_DIR will remain at the
## system-dependent default from above.]
if test "x${GCC}" = xyes; then
crt_file=`$CC --print-file-name=crt1.o 2>/dev/null`
case "$crt_file" in
*/*)
CRT_DIR=`$as_dirname -- "$crt_file" ||
$as_expr X"$crt_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$crt_file" : 'X\(//\)[^/]' \| \
X"$crt_file" : 'X\(//\)$' \| \
X"$crt_file" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X"$crt_file" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
;;
esac
fi
else
## Some platforms don't use any of these files, so it is not
...
...
@@ -16015,16 +16049,21 @@ $as_echo "#define GL_TRIGGER_STDC_LIMIT_MACROS 1" >>confdefs.h
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
if test "${
ac
_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
if test "${
gl
_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
$as_echo_n "(cached) " >&6
else
rm -f conftest.sym conftest.file
echo >conftest.file
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
if test "$cross_compiling" = yes; then :
ac_cv_func_lstat_dereferences_slashed_symlink=no
echo >conftest.file
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
if test "$cross_compiling" = yes; then :
# When cross-compiling, be pessimistic so we will end up using the
# replacement version of lstat that checks for trailing slashes and
# calls lstat a second time when necessary.
gl_cv_func_lstat_dereferences_slashed_symlink=no
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
...
...
@@ -16033,54 +16072,41 @@ int
main ()
{
struct stat sbuf;
/* Linux will dereference the symlink and fail, as required by POSIX.
That is better in the sense that it means we will not
have to compile and use the lstat wrapper. */
return lstat ("conftest.sym/", &sbuf) == 0;
/* Linux will dereference the symlink and fail, as required by
POSIX. That is better in the sense that it means we will not
have to compile and use the lstat wrapper. */
return lstat ("conftest.sym/", &sbuf) == 0;
;
return 0;
}
_ACEOF
if ac_fn_c_try_run "$LINENO"; then :
ac
_cv_func_lstat_dereferences_slashed_symlink=yes
gl
_cv_func_lstat_dereferences_slashed_symlink=yes
else
ac
_cv_func_lstat_dereferences_slashed_symlink=no
gl
_cv_func_lstat_dereferences_slashed_symlink=no
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
else
# If the
`
ln -s' command failed, then we probably don't even
# have an lstat function.
ac
_cv_func_lstat_dereferences_slashed_symlink=no
fi
rm -f conftest.sym conftest.file
else
# If the
'
ln -s' command failed, then we probably don't even
# have an lstat function.
gl
_cv_func_lstat_dereferences_slashed_symlink=no
fi
rm -f conftest.sym conftest.file
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5
$as_echo "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; }
test $gl_cv_func_lstat_dereferences_slashed_symlink = yes &&
cat >>confdefs.h <<_ACEOF
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
_ACEOF
if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext"
fi
GNULIB_MKTIME=0;
GNULIB_NANOSLEEP=0;
...
...
@@ -16681,14 +16707,14 @@ ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
if test "x$ac_cv_func_getloadavg" = x""yes; then :
else
gl_
have_func
=no
gl_
func_getloadavg_done
=no
# Some systems with -lutil have (and need) -lkvm as well, some do not.
# On Solaris, -lkvm requires nlist from -lelf, so check that first
# to get the right answer into the cache.
# For kstat on solaris, we need to test for libelf and libkvm to force the
# definition of SVR4 below.
if test $gl_
have_func
= no; then
if test $gl_
func_getloadavg_done
= no; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
$as_echo_n "checking for elf_begin in -lelf... " >&6; }
if test "${ac_cv_lib_elf_elf_begin+set}" = set; then :
...
...
@@ -16807,12 +16833,12 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
$as_echo "$ac_cv_lib_util_getloadavg" >&6; }
if test "x$ac_cv_lib_util_getloadavg" = x""yes; then :
LIBS="-lutil $LIBS" gl_
have_func
=yes
LIBS="-lutil $LIBS" gl_
func_getloadavg_done
=yes
fi
fi
if test $gl_
have_func
= no; then
if test $gl_
func_getloadavg_done
= no; then
# There is a commonly available library for RS/6000 AIX.
# Since it is not a standard part of AIX, it might be installed locally.
gl_getloadavg_LIBS=$LIBS
...
...
@@ -16854,7 +16880,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then :
LIBS="-lgetloadavg $LIBS" gl_
have_func
=yes
LIBS="-lgetloadavg $LIBS" gl_
func_getloadavg_done
=yes
else
LIBS=$gl_getloadavg_LIBS
fi
...
...
@@ -16862,67 +16888,11 @@ fi
fi
# Set up the replacement function if necessary.
if test $gl_
have_func
= no; then
if test $gl_
func_getloadavg_done
= no; then
HAVE_GETLOADAVG=0
fi
fi
if test "x$gl_save_LIBS" = x; then
GETLOADAVG_LIBS=$LIBS
else
GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$gl_save_LIBS!!"`
fi
LIBS=$gl_save_LIBS
# Test whether the system declares getloadavg. Solaris has the function
# but declares it in <sys/loadavg.h>, not <stdlib.h>.
for ac_header in sys/loadavg.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_loadavg_h" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_SYS_LOADAVG_H 1
_ACEOF
fi
done
if test $ac_cv_header_sys_loadavg_h = yes; then
HAVE_SYS_LOADAVG_H=1
else
HAVE_SYS_LOADAVG_H=0
fi
ac_fn_c_check_decl "$LINENO" "getloadavg" "ac_cv_have_decl_getloadavg" "#if HAVE_SYS_LOADAVG_H
# include <sys/loadavg.h>
#endif
#include <stdlib.h>
"
if test "x$ac_cv_have_decl_getloadavg" = x""yes; then :
else
HAVE_DECL_GETLOADAVG=0
fi
if test $HAVE_GETLOADAVG = 0; then
gl_LIBOBJS="$gl_LIBOBJS getloadavg.$ac_objext"
# Figure out what our getloadavg.c needs.
# Solaris has libkstat which does not require root.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
# Solaris has libkstat which does not require root.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
$as_echo_n "(cached) " >&6
...
...
@@ -16967,26 +16937,11 @@ _ACEOF
fi
test $ac_cv_lib_kstat_kstat_open = yes && gl_
have_func
=yes
test $ac_cv_lib_kstat_kstat_open = yes && gl_
func_getloadavg_done
=yes
# On HPUX9, an unprivileged user can get load averages this way.
if test $gl_have_func = no; then
for ac_func in pstat_getdynamic
do :
ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_PSTAT_GETDYNAMIC 1
_ACEOF
gl_have_func=yes
fi
done
fi
# AIX has libperfstat which does not require root
if test $gl_have_func = no; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perfstat_cpu_total in -lperfstat" >&5
# AIX has libperfstat which does not require root
if test $gl_func_getloadavg_done = no; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perfstat_cpu_total in -lperfstat" >&5
$as_echo_n "checking for perfstat_cpu_total in -lperfstat... " >&6; }
if test "${ac_cv_lib_perfstat_perfstat_cpu_total+set}" = set; then :
$as_echo_n "(cached) " >&6
...
...
@@ -17031,17 +16986,17 @@ _ACEOF
fi
test $ac_cv_lib_perfstat_perfstat_cpu_total = yes && gl_
have_func
=yes
fi
test $ac_cv_lib_perfstat_perfstat_cpu_total = yes && gl_
func_getloadavg_done
=yes
fi
if test $gl_
have_func
= no; then
ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
if test $gl_
func_getloadavg_done
= no; then
ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then :
gl_
have_func
=yes
gl_
func_getloadavg_done
=yes
$as_echo "#define DGUX 1" >>confdefs.h
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then :
$as_echo_n "(cached) " >&6
...
...
@@ -17089,23 +17044,94 @@ fi
fi
fi
fi
fi
if test "x$gl_save_LIBS" = x; then
GETLOADAVG_LIBS=$LIBS
else
GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$gl_save_LIBS!!"`
fi
LIBS=$gl_save_LIBS
# Test whether the system declares getloadavg. Solaris has the function
# but declares it in <sys/loadavg.h>, not <stdlib.h>.
for ac_header in sys/loadavg.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_loadavg_h" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_SYS_LOADAVG_H 1
_ACEOF
fi
done
if test $ac_cv_header_sys_loadavg_h = yes; then
HAVE_SYS_LOADAVG_H=1
else
HAVE_SYS_LOADAVG_H=0
fi
ac_fn_c_check_decl "$LINENO" "getloadavg" "ac_cv_have_decl_getloadavg" "#if HAVE_SYS_LOADAVG_H
# include <sys/loadavg.h>
#endif
#include <stdlib.h>
"
if test "x$ac_cv_have_decl_getloadavg" = x""yes; then :
else
HAVE_DECL_GETLOADAVG=0
fi
if test $HAVE_GETLOADAVG = 0; then
gl_LIBOBJS="$gl_LIBOBJS getloadavg.$ac_objext"
# Figure out what our getloadavg.c needs.
# On HPUX9, an unprivileged user can get load averages this way.
if test $gl_func_getloadavg_done = no; then
for ac_func in pstat_getdynamic
do :
ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_PSTAT_GETDYNAMIC 1
_ACEOF
gl_func_getloadavg_done=yes
fi
done
fi
# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
# uses stabs), but it is still SVR4. We cannot check for <elf.h> because
# Irix 4.0.5F has the header but not the library.
if test $gl_
have_func
= no && test "$ac_cv_lib_elf_elf_begin" = yes \
if test $gl_
func_getloadavg_done
= no && test "$ac_cv_lib_elf_elf_begin" = yes \
&& test "$ac_cv_lib_kvm_kvm_open" = yes; then
gl_
have_func
=yes
gl_
func_getloadavg_done
=yes
$as_echo "#define SVR4 1" >>confdefs.h
fi
if test $gl_
have_func
= no; then
if test $gl_
func_getloadavg_done
= no; then
ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then :
gl_
have_func
=yes
gl_
func_getloadavg_done
=yes
$as_echo "#define UMAX 1" >>confdefs.h
...
...
@@ -17117,17 +17143,17 @@ fi
fi
if test $gl_
have_func
= no; then
if test $gl_
func_getloadavg_done
= no; then
ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then :
gl_
have_func
=yes; $as_echo "#define UMAX 1" >>confdefs.h
gl_
func_getloadavg_done
=yes; $as_echo "#define UMAX 1" >>confdefs.h
fi
fi
if test $gl_
have_func
= no; then
if test $gl_
func_getloadavg_done
= no; then
for ac_header in mach/mach.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
...
...
configure.in
View file @
51cab52b
...
...
@@ -988,24 +988,9 @@ dnl Do this early because it can frob feature test macros for Unix-98 &c.
AC_SYS_LARGEFILE
## If we're using gcc, and the user hasn't specified a crt-dir, try to
## determine it automatically by asking gcc. [If this doesn't work,
## CRT_DIR will remain empty and system-dependent code will be used
## below.]
##
if test "x${GCC}z$CRT_DIR" = xyesz; then
crt_file=`$CC 2>/dev/null --print-file-name=crt1.o`
case "$crt_file" in
*/*)
CRT_DIR=`AS_DIRNAME(["$crt_file"])`
;;
esac
fi
## If user specified a crt-dir, use that unconditionally.
if test "X$CRT_DIR" = "X"; then
case "$canonical" in
x86_64-*-linux-gnu* | s390x-*-linux-gnu*)
## On x86-64 and s390x GNU/Linux distributions, the standard library
...
...
@@ -1028,6 +1013,18 @@ if test "X$CRT_DIR" = "X"; then
## Default is /usr/lib.
test "X$CRT_DIR" = "X" && CRT_DIR=/usr/lib
## If we're using gcc, try to determine it automatically by asking
## gcc. [If this doesn't work, CRT_DIR will remain at the
## system-dependent default from above.]
if test "x${GCC}" = xyes; then
crt_file=`$CC --print-file-name=crt1.o 2>/dev/null`
case "$crt_file" in
*/*)
CRT_DIR=`AS_DIRNAME(["$crt_file"])`
;;
esac
fi
else
## Some platforms don't use any of these files, so it is not
...
...
doc/misc/ChangeLog
View file @
51cab52b
This diff is collapsed.
Click to expand it.
doc/misc/eshell.texi
View file @
51cab52b
...
...
@@ -814,7 +814,7 @@ way@dots{}). If input redirection is added, also update the
With
the
handling
of
@
emph
{
word
}
specified
by
an
@
code
{
eshell
-
special
-
alist
}.
@
item
In
@
code
{
eshell
-
v
eal
-
using
-
options
},
allow
a
@
code
{:
complete
}
tag
@
item
In
@
code
{
eshell
-
e
v
al
-
using
-
options
},
allow
a
@
code
{:
complete
}
tag
It
would
be
used
to
provide
completion
rules
for
that
command
.
Then
the
macro
will
automagically
define
the
completion
function
.
...
...
etc/NEWS
View file @
51cab52b
...
...
@@ -1051,6 +1051,9 @@ deferring warnings until the main command loop is executed.
** `set-auto-mode' now respects mode: local variables at the end of files,
as well as those in the -*- line.
---
** rx.el has a new `group-n' construct for explicitly numbered groups.
* Changes in Emacs 24.1 on non-free operating systems
...
...
lib/unistd.in.h
View file @
51cab52b
...
...
@@ -1062,6 +1062,7 @@ _GL_WARN_ON_USE (pipe2, "pipe2 is unportable - "
specification <http://www.opengroup.org/susv3xsh/pread.html>. */
# if @REPLACE_PREAD@
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
# undef pread
# define pread rpl_pread
# endif
_GL_FUNCDECL_RPL
(
pread
,
ssize_t
,
...
...
@@ -1096,6 +1097,7 @@ _GL_WARN_ON_USE (pread, "pread is unportable - "
<http://www.opengroup.org/susv3xsh/pwrite.html>. */
# if @REPLACE_PWRITE@
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
# undef pwrite
# define pwrite rpl_pwrite
# endif
_GL_FUNCDECL_RPL
(
pwrite
,
ssize_t
,
...
...
lisp/ChangeLog
View file @
51cab52b
2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
* x-dnd.el (x-dnd-version-from-flags)
(x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
and long as number (Bug#8899).
(x-dnd-handle-xdnd): Call functions above (Bug#8899).
2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
* minibuffer.el (completion-metadata): Prepend the alist with `metadata'.
(completion-try-completion, completion-all-completions): Compute the
metadata argument if it's missing; make it optional (bug#8795).
* wid-edit.el: Use lexical scoping and move towards completion-at-point.
(widget-complete): Use new :completion-function property.
(widget-completions-at-point): New function.
(default): Use :completion-function instead of :complete.
(widget-default-completions): Rename from widget-default-complete, rewrite.
(widget-string-complete, widget-file-complete, widget-color-complete):
Remove functions.
(file, symbol, function, variable, coding-system, color):
* international/mule-cmds.el (default-input-method, charset)
(language-info-custom-alist):
* cus-edit.el (face): Use new property :completions.
* progmodes/pascal.el (pascal-completions-at-point): New function.
(pascal-mode): Use it.
(pascal-mode-map): Use completion-at-point.
(pascal-toggle-completions): Make obsolete.
(pascal-complete-word, pascal-show-completions):
* progmodes/octave-mod.el (octave-complete-symbol):
Redefine as obsolete alias.
* progmodes/octave-inf.el (inferior-octave-completion-at-point):
Signal absence of completion info for old Octave,
(inferior-octave-complete): Redefine as obsolete alias.
* progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
(meta-completions-at-point): Rename from meta-complete-symbol and
adapt it for use on completion-at-point-functions.
(meta-common-mode): Use it.
(meta-looking-at-backward, meta-match-buffer): Remove.
(meta-complete-symbol): Redefine as obsolete alias.
(meta-common-mode-map): Use completion-at-point.
* progmodes/make-mode.el: Use lexical-binding and completion-at-point.
(makefile-mode-map): Use completion-at-point.
(makefile-completions-at-point): Rename from makefile-complete and
adapt it for use on completion-at-point-functions.
(makefile-mode): Use it.
(makefile-complete): Redefine as obsolete alias.
2011-06-20 Deniz Dogan <deniz@dogan.se>
* net/rcirc.el: Delete trailing whitespaces once and for all.
2011-06-20 Martin Rudalics <rudalics@gmx.at>
* window.el (get-window-with-predicate): Start scanning with
window following selected window to restore Emacs 23 behavior.
Clarify doc-string.
(get-buffer-window-list): Start scanning with selected window to
restore Emacs 23 behavior. Clarify doc-string.
2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
* emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
2011-06-19 Chong Yidong <cyd@stupidchicken.com>
* files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
* info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
2011-06-19 Martin Rudalics <rudalics@gmx.at>
* window.el (display-buffer-other-window-means-other-frame):
Call display-buffer-normalize-alist.
(display-buffer-normalize-specifiers-1): Rename to
display-buffer-normalize-argument. New argument other-frame.
Rewrite.
(display-buffer-normalize-specifiers-2): Rename to
display-buffer-normalize-options.
(display-buffer-normalize-alist-1): New function.
(display-buffer-normalize-specifiers-3): Rename to
display-buffer-normalize-alist.
Call display-buffer-normalize-alist-1.
(display-buffer-normalize-options-inhibit): New variable.
(display-buffer-normalize-specifiers): Rewrite calling
display-buffer-normalize-alist,
display-buffer-normalize-argument, and
display-buffer-normalize-options. Don't call the latter if
display-buffer-normalize-options-inhibit is non-nil.
(frame-auto-delete): New option.
(window-deletable-p): Use frame-auto-delete.
(window-list-no-nils, window-state-ignored-parameters)
(window-state-get-1, window-state-get, window-state-put-list)
(window-state-put-1, window-state-put-2, window-state-put):
New functions.
(display-buffer-normalize-options): Move special-display-p group
after pop-up-frame group (Bug#8851) and (Bug#8856).
2011-06-18 Chong Yidong <cyd@stupidchicken.com>
* emacs-lisp/rx.el (rx-constituents): Add support for numbered
groups (Bug#8776).
(rx-submatch-n): New function.
(rx): Document it.
* dired-x.el (dired-mark-unmarked-files): Fix interactive spec
(Bug#8768).
* replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
* textmodes/fill.el (default-justification): Add :safe (Bug#8879).
* cus-face.el (custom-declare-face): Call custom-theme-recalc face
anytime existing face settings are present (Bug#8889).
* progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
(delphi-mode): Use define-derived-mode to inherit from prog-mode.
Remove unused argument.
2011-06-18 Martin Rudalics <rudalics@gmx.at>
* window.el (display-buffer-default-specifiers):
Remove pop-up-frame. Add pop-up-window-min-height,
pop-up-window-min-width, and another reuse-window specifier
(Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
(display-buffer-normalize-specifiers-2):
Handle split-height-threshold and split-width-threshold also when
pop-up-windows is unset. Add a reuse-window specifier for the
case popping up a new window fails.
(special-display-popup-frame): Remove double quoting.
(display-buffer-normalize-specifiers-1): Fix thinko.
2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>