(tex-region): Simplify previous change,
handling the case where the region is not in `tex-main-file'.
(tex-region-1): Delete.
(tex-region-header): New function, doing the header part of the
old tex-region-1.
Jan Djärv [Sun, 16 Sep 2007 09:34:52 +0000 (09:34 +0000)]
(xg_get_image_for_pixmap): Always create a GdkPixbuf
when we have no file name for the icon.
(xg_tool_bar_expose_callback): Remove.
(xg_create_tool_bar): Don't connect expose signal to
xg_tool_bar_expose_callback.
(tex-region): Handle the case where the region is not in
`tex-main-file'. Move the old code that applies to both cases...
(tex-region-1): ...to this new function.
Martin Rudalics [Sat, 15 Sep 2007 09:37:00 +0000 (09:37 +0000)]
(blink-matching-open): Don't display message when no
paren is found within blink-matching-paren-distance characters.
Don't search prompt in blink-matching-paren-distance nil case.
(our_memory_fill_input_buffer) <buffer>: Move to file scope and rename
to omfib_buffer for clarity.
(gif_load) <interlace_start, interlace_increment>: Move to file scope.
Stefan Monnier [Mon, 10 Sep 2007 20:02:31 +0000 (20:02 +0000)]
Merge changes from Dave Love's v2007-Sep-10.
(python-font-lock-keywords): Update to the 2.5 version of the language.
(python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil.
(python-backspace): Only behave funny in code.
(python-compilation-regexp-alist): Add PDB stack trace regexp.
(inferior-python-mode): Add PDB prompt regexp.
(python-fill-paragraph): Refine the fenced-string regexp.
(python-find-imports): Handle imports spanning several lines.
(python-mode): Add `class' to hideshow support.
Stefan Monnier [Sat, 8 Sep 2007 03:11:43 +0000 (03:11 +0000)]
(cvs-mode-add-change-log-entry-other-window): Use
add-log-buffer-file-name-function rather than bind buffer-file-name,
so we dont end up calling change-log-mode in *cvs* when `fi' is the
ChangeLog file itself.
Stefan Monnier [Fri, 7 Sep 2007 04:37:28 +0000 (04:37 +0000)]
Merge upstream 5.23.
(cperl-where-am-i): Remove function.
(cperl-backward-to-noncomment): Don't go too far when skipping POD/HEREs
(cperl-sniff-for-indent): De-invert [string] and [comment].
When looking for label, skip s:m:y:tr.
(cperl-indent-line): Likewise.
(cperl-mode): Don't assume `font-lock-multiline' is auto-local.
(cperl-windowed-init): Wrong `ps-print' handling.
Both thanks to Chong Yidong.
(cperl-look-at-leading-count): Could fail with unfinished RExen.
(cperl-find-pods-heres): If the second part of s()[] is missing,
don't try to highlight delimiters...
Stefan Monnier [Fri, 7 Sep 2007 01:26:58 +0000 (01:26 +0000)]
(vc-bzr-admin-lastrev): New constant.
(vc-bzr-file-name-relative): Use 'when' instead of 'and'.
(vc-bzr-status): Fix shadowing of variable 'status'.
(vc-bzr-workfile-version): Use correct path to 'last-revision' file.
Use `expand-file-name' instead of `concat'.
(vc-bzr-annotate-command): Use option name '--long' instead of '-l'.
Update annotation line regexp. Fixes launchpad.net [Bug 137435].
(url-http-parse-headers): Bind the current buffer rather than calling
`url-mark-buffer-as-dead' with `current-buffer', so that the correct
buffer is killed if `url-retrieve-synchronously' gets redirected to a
new URL.
Jan Djärv [Sun, 2 Sep 2007 16:59:23 +0000 (16:59 +0000)]
(file_for_image, find_rtl_image): New functions.
(xg_get_image_for_pixmap): Use file_for_image
(update_frame_tool_bar): If direction is RTL, use RTL image if
defined. Use Gtk stock images or named theme icons if defined.
Martin Rudalics [Wed, 29 Aug 2007 09:01:48 +0000 (09:01 +0000)]
(syms_of_keyboard): Set up new Lisp variable
last-repeatable-command.
(init_kboard): Initialize Vlast_repeatable_command.
(command_loop_1): Set it to real_this_command unless that was
bound to an input event.
(mark_kboards): Mark it.
Dan Nicolaescu [Mon, 27 Aug 2007 18:59:41 +0000 (18:59 +0000)]
* vc-git.el (vc-git-state): Call git-add --refresh to update the
state of the file.
(vc-git-workfile-unchanged-p): Delegate implementation to
vc-git-state.
(vc-git-create-repo): Fixed invalid command.