diff options
| author | Dan Nicolaescu | 2007-11-19 08:50:04 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-11-19 08:50:04 +0000 |
| commit | 004a00f4ae0d64a86265c0fa6d6d52f0fa3d9434 (patch) | |
| tree | e661ecc8f97e143e46597c525f60e1118aa26a9e | |
| parent | 34cf517c8d71e723df9d6d43b9ff8fc733bd1485 (diff) | |
| download | emacs-004a00f4ae0d64a86265c0fa6d6d52f0fa3d9434.tar.gz emacs-004a00f4ae0d64a86265c0fa6d6d52f0fa3d9434.zip | |
* progmodes/octave-mod.el (inferior-octave-send-list-and-digest):
* play/yow.el (doctor-ret-or-read):
* vc-hooks.el (vc-dired-resynch-file):
* vc-hg.el (log-view-get-marked):
* smerge-mode.el (ediff-cleanup-mess):
* pcvs.el (vc-editable-p, vc-checkout):
* pcomplete.el (comint-bol):
* informat.el (texinfo-format-refill):
* ido.el (tramp-tramp-file-p):
* ibuffer.el (ibuffer-mark-on-buffer, ibuffer-format-qualifier)
(ibuffer-generate-filter-groups)
(ibuffer-format-filter-group-data):
* add-log.el (c-beginning-of-defun, c-end-of-defun): Declare as
functions.
* ido.el (ido-file-internal): Move with-no-warnings to include the
ffap-string-at-point call.
* pcomplete.el (pcomplete-executables): Move defsubst before first
use.
* vc-hg.el (vc-hg-revision-table): Fix last change.
| -rw-r--r-- | lisp/ChangeLog | 29 | ||||
| -rw-r--r-- | lisp/add-log.el | 3 | ||||
| -rw-r--r-- | lisp/ibuffer.el | 7 | ||||
| -rw-r--r-- | lisp/ido.el | 9 | ||||
| -rw-r--r-- | lisp/informat.el | 2 | ||||
| -rw-r--r-- | lisp/pcomplete.el | 10 | ||||
| -rw-r--r-- | lisp/play/yow.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/octave-mod.el | 2 | ||||
| -rw-r--r-- | lisp/smerge-mode.el | 1 | ||||
| -rw-r--r-- | lisp/vc-hg.el | 4 | ||||
| -rw-r--r-- | lisp/vc-hooks.el | 2 |
11 files changed, 63 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6ad287a3345..0891910b025 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,32 @@ | |||
| 1 | 2007-11-19 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * progmodes/octave-mod.el (inferior-octave-send-list-and-digest): | ||
| 4 | * play/yow.el (doctor-ret-or-read): | ||
| 5 | * vc-hooks.el (vc-dired-resynch-file): | ||
| 6 | * vc-hg.el (log-view-get-marked): | ||
| 7 | * smerge-mode.el (ediff-cleanup-mess): | ||
| 8 | * pcvs.el (vc-editable-p, vc-checkout): | ||
| 9 | * pcomplete.el (comint-bol): | ||
| 10 | * informat.el (texinfo-format-refill): | ||
| 11 | * ido.el (tramp-tramp-file-p): | ||
| 12 | * ibuffer.el (ibuffer-mark-on-buffer, ibuffer-format-qualifier) | ||
| 13 | (ibuffer-generate-filter-groups) | ||
| 14 | (ibuffer-format-filter-group-data): | ||
| 15 | * add-log.el (c-beginning-of-defun, c-end-of-defun): Declare as | ||
| 16 | functions. | ||
| 17 | |||
| 18 | * textmodes/ispell.el (ispell-int-char): Make it a defalias | ||
| 19 | instead of fset. | ||
| 20 | (ispell-message): Use with-no-warnings for sc-cite-regexp call. | ||
| 21 | |||
| 22 | * ido.el (ido-file-internal): Move with-no-warnings to include the | ||
| 23 | ffap-string-at-point call. | ||
| 24 | |||
| 25 | * pcomplete.el (pcomplete-executables): Move defsubst before first | ||
| 26 | use. | ||
| 27 | |||
| 28 | * vc-hg.el (vc-hg-revision-table): Fix last change. | ||
| 29 | |||
| 1 | 2007-11-19 Martin Rudalics <rudalics@gmx.at> | 30 | 2007-11-19 Martin Rudalics <rudalics@gmx.at> |
| 2 | 31 | ||
| 3 | * menu-bar.el (top-level): Deactivate clipboard-kill-region and | 32 | * menu-bar.el (top-level): Deactivate clipboard-kill-region and |
diff --git a/lisp/add-log.el b/lisp/add-log.el index 3ca1b613955..21b4a5dbdc8 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -827,6 +827,9 @@ Prefix arg means justify as well." | |||
| 827 | '(TeX-mode plain-TeX-mode LaTeX-mode tex-mode) | 827 | '(TeX-mode plain-TeX-mode LaTeX-mode tex-mode) |
| 828 | "*Modes that look like TeX to `add-log-current-defun'.") | 828 | "*Modes that look like TeX to `add-log-current-defun'.") |
| 829 | 829 | ||
| 830 | (declare-function c-beginning-of-defun "progmodes/cc-cmds" (&optional arg)) | ||
| 831 | (declare-function c-end-of-defun "progmodes/cc-cmds" (&optional arg)) | ||
| 832 | |||
| 830 | ;;;###autoload | 833 | ;;;###autoload |
| 831 | (defun add-log-current-defun () | 834 | (defun add-log-current-defun () |
| 832 | "Return name of function definition point is in, or nil. | 835 | "Return name of function definition point is in, or nil. |
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 80133d227ab..b09a3e26979 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -55,6 +55,13 @@ | |||
| 55 | (defvar ibuffer-tmp-hide-regexps) | 55 | (defvar ibuffer-tmp-hide-regexps) |
| 56 | (defvar ibuffer-tmp-show-regexps) | 56 | (defvar ibuffer-tmp-show-regexps) |
| 57 | 57 | ||
| 58 | (declare-function ibuffer-mark-on-buffer "ibuf-ext" | ||
| 59 | (func &optional ibuffer-mark-on-buffer-mark group)) | ||
| 60 | (declare-function ibuffer-format-qualifier "ibuf-ext" (qualifier)) | ||
| 61 | (declare-function ibuffer-generate-filter-groups "ibuf-ext" | ||
| 62 | (bmarklist &optional noempty nodefault)) | ||
| 63 | (declare-function ibuffer-format-filter-group-data "ibuf-ext" (filter)) | ||
| 64 | |||
| 58 | (defgroup ibuffer nil | 65 | (defgroup ibuffer nil |
| 59 | "An advanced replacement for `buffer-menu'. | 66 | "An advanced replacement for `buffer-menu'. |
| 60 | 67 | ||
diff --git a/lisp/ido.el b/lisp/ido.el index 0a077f9dab6..af8936b86d9 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -2281,9 +2281,10 @@ If cursor is not at the end of the user input, move to end of input." | |||
| 2281 | filename t)) | 2281 | filename t)) |
| 2282 | 2282 | ||
| 2283 | ((and ido-use-filename-at-point | 2283 | ((and ido-use-filename-at-point |
| 2284 | (setq fn (if (eq ido-use-filename-at-point 'guess) | 2284 | (setq fn (with-no-warnings |
| 2285 | (with-no-warnings (ffap-guesser)) | 2285 | (if (eq ido-use-filename-at-point 'guess) |
| 2286 | (ffap-string-at-point))) | 2286 | (ffap-guesser) |
| 2287 | (ffap-string-at-point)))) | ||
| 2287 | (not (string-match "^http:/" fn)) | 2288 | (not (string-match "^http:/" fn)) |
| 2288 | (setq d (file-name-directory fn)) | 2289 | (setq d (file-name-directory fn)) |
| 2289 | (file-directory-p d)) | 2290 | (file-directory-p d)) |
| @@ -3363,6 +3364,8 @@ for first matching file." | |||
| 3363 | (nconc ido-temp-list items) | 3364 | (nconc ido-temp-list items) |
| 3364 | (setq ido-temp-list items))) | 3365 | (setq ido-temp-list items))) |
| 3365 | 3366 | ||
| 3367 | (declare-function tramp-tramp-file-p "net/tramp" (name)) | ||
| 3368 | |||
| 3366 | (defun ido-file-name-all-completions-1 (dir) | 3369 | (defun ido-file-name-all-completions-1 (dir) |
| 3367 | (cond | 3370 | (cond |
| 3368 | ((ido-nonreadable-directory-p dir) '()) | 3371 | ((ido-nonreadable-directory-p dir) '()) |
diff --git a/lisp/informat.el b/lisp/informat.el index 18a459ba0fe..747d57c4f38 100644 --- a/lisp/informat.el +++ b/lisp/informat.el | |||
| @@ -32,6 +32,8 @@ | |||
| 32 | 32 | ||
| 33 | (require 'info) | 33 | (require 'info) |
| 34 | 34 | ||
| 35 | (declare-function texinfo-format-refill "textmodes/texinfmt" ()) | ||
| 36 | |||
| 35 | ;;;###autoload | 37 | ;;;###autoload |
| 36 | (defun Info-tagify (&optional input-buffer-name) | 38 | (defun Info-tagify (&optional input-buffer-name) |
| 37 | "Create or update Info file tag table in current buffer or in a region." | 39 | "Create or update Info file tag table in current buffer or in a region." |
diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el index 62a71621dc6..8116ad91fd2 100644 --- a/lisp/pcomplete.el +++ b/lisp/pcomplete.el | |||
| @@ -281,6 +281,10 @@ to all arguments, such as variable names after a $." | |||
| 281 | :type 'hook | 281 | :type 'hook |
| 282 | :group 'pcomplete) | 282 | :group 'pcomplete) |
| 283 | 283 | ||
| 284 | (defsubst pcomplete-executables (&optional regexp) | ||
| 285 | "Complete amongst a list of directories and executables." | ||
| 286 | (pcomplete-entries regexp 'file-executable-p)) | ||
| 287 | |||
| 284 | (defcustom pcomplete-command-completion-function | 288 | (defcustom pcomplete-command-completion-function |
| 285 | (function | 289 | (function |
| 286 | (lambda () | 290 | (lambda () |
| @@ -599,6 +603,8 @@ this is `comint-dynamic-complete-functions'." | |||
| 599 | "Setup shell-mode to use pcomplete." | 603 | "Setup shell-mode to use pcomplete." |
| 600 | (pcomplete-comint-setup 'shell-dynamic-complete-functions)) | 604 | (pcomplete-comint-setup 'shell-dynamic-complete-functions)) |
| 601 | 605 | ||
| 606 | (declare-function comint-bol "comint" (&optional arg)) | ||
| 607 | |||
| 602 | (defun pcomplete-parse-comint-arguments () | 608 | (defun pcomplete-parse-comint-arguments () |
| 603 | "Parse whitespace separated arguments in the current region." | 609 | "Parse whitespace separated arguments in the current region." |
| 604 | (let ((begin (save-excursion (comint-bol nil) (point))) | 610 | (let ((begin (save-excursion (comint-bol nil) (point))) |
| @@ -780,10 +786,6 @@ component, `default-directory' is used as the basis for completion." | |||
| 780 | "Complete amongst a list of directories." | 786 | "Complete amongst a list of directories." |
| 781 | (pcomplete-entries regexp 'file-directory-p)) | 787 | (pcomplete-entries regexp 'file-directory-p)) |
| 782 | 788 | ||
| 783 | (defsubst pcomplete-executables (&optional regexp) | ||
| 784 | "Complete amongst a list of directories and executables." | ||
| 785 | (pcomplete-entries regexp 'file-executable-p)) | ||
| 786 | |||
| 787 | ;; generation of completion lists | 789 | ;; generation of completion lists |
| 788 | 790 | ||
| 789 | (defun pcomplete-find-completion-function (command) | 791 | (defun pcomplete-find-completion-function (command) |
diff --git a/lisp/play/yow.el b/lisp/play/yow.el index 28fc453577b..702052f52d6 100644 --- a/lisp/play/yow.el +++ b/lisp/play/yow.el | |||
| @@ -112,6 +112,8 @@ If called interactively, display a list of matches." | |||
| 112 | ;; | 112 | ;; |
| 113 | ;; written by Kayvan Aghaiepour | 113 | ;; written by Kayvan Aghaiepour |
| 114 | 114 | ||
| 115 | (declare-function doctor-ret-or-read "doctor" (arg)) | ||
| 116 | |||
| 115 | ;;;###autoload | 117 | ;;;###autoload |
| 116 | (defun psychoanalyze-pinhead () | 118 | (defun psychoanalyze-pinhead () |
| 117 | "Zippy goes to the analyst." | 119 | "Zippy goes to the analyst." |
diff --git a/lisp/progmodes/octave-mod.el b/lisp/progmodes/octave-mod.el index a0d33f56ee4..e8246ddb816 100644 --- a/lisp/progmodes/octave-mod.el +++ b/lisp/progmodes/octave-mod.el | |||
| @@ -52,6 +52,8 @@ | |||
| 52 | (defvar inferior-octave-output-string nil) | 52 | (defvar inferior-octave-output-string nil) |
| 53 | (defvar inferior-octave-receive-in-progress nil) | 53 | (defvar inferior-octave-receive-in-progress nil) |
| 54 | 54 | ||
| 55 | (declare-function inferior-octave-send-list-and-digest "octave-inf" (list)) | ||
| 56 | |||
| 55 | (defconst octave-maintainer-address | 57 | (defconst octave-maintainer-address |
| 56 | "Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>, bug-gnu-emacs@gnu.org" | 58 | "Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>, bug-gnu-emacs@gnu.org" |
| 57 | "Current maintainer of the Emacs Octave package.") | 59 | "Current maintainer of the Emacs Octave package.") |
diff --git a/lisp/smerge-mode.el b/lisp/smerge-mode.el index 18ca1a34181..dcbb97bd79c 100644 --- a/lisp/smerge-mode.el +++ b/lisp/smerge-mode.el | |||
| @@ -905,6 +905,7 @@ replace chars to try and eliminate some spurious differences." | |||
| 905 | (defvar ediff-buffer-C) | 905 | (defvar ediff-buffer-C) |
| 906 | (defvar ediff-ancestor-buffer) | 906 | (defvar ediff-ancestor-buffer) |
| 907 | (defvar ediff-quit-hook) | 907 | (defvar ediff-quit-hook) |
| 908 | (declare-function ediff-cleanup-mess "ediff-util" nil) | ||
| 908 | 909 | ||
| 909 | ;;;###autoload | 910 | ;;;###autoload |
| 910 | (defun smerge-ediff (&optional name-mine name-other name-base) | 911 | (defun smerge-ediff (&optional name-mine name-other name-base) |
diff --git a/lisp/vc-hg.el b/lisp/vc-hg.el index 872be45a2c1..af2b4f133d2 100644 --- a/lisp/vc-hg.el +++ b/lisp/vc-hg.el | |||
| @@ -296,7 +296,7 @@ | |||
| 296 | (defun vc-hg-revision-table (files) | 296 | (defun vc-hg-revision-table (files) |
| 297 | (let ((default-directory (file-name-directory (car files)))) | 297 | (let ((default-directory (file-name-directory (car files)))) |
| 298 | (with-temp-buffer | 298 | (with-temp-buffer |
| 299 | (vc-hg-command t nil file "log" "--template" "{rev} ") | 299 | (vc-hg-command t nil files "log" "--template" "{rev} ") |
| 300 | (split-string | 300 | (split-string |
| 301 | (buffer-substring-no-properties (point-min) (point-max)))))) | 301 | (buffer-substring-no-properties (point-min) (point-max)))))) |
| 302 | 302 | ||
| @@ -480,6 +480,8 @@ REV is the revision to check out into WORKFILE." | |||
| 480 | (pop-to-buffer bname) | 480 | (pop-to-buffer bname) |
| 481 | (vc-hg-incoming-mode))) | 481 | (vc-hg-incoming-mode))) |
| 482 | 482 | ||
| 483 | (declare-function log-view-get-marked "log-view" ()) | ||
| 484 | |||
| 483 | ;; XXX maybe also add key bindings for these functions. | 485 | ;; XXX maybe also add key bindings for these functions. |
| 484 | (defun vc-hg-push () | 486 | (defun vc-hg-push () |
| 485 | (interactive) | 487 | (interactive) |
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index e28a01d35e6..80f12af974a 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el | |||
| @@ -705,6 +705,8 @@ Before doing that, check if there are any old backups and get rid of them." | |||
| 705 | (vc-call make-version-backups-p file) | 705 | (vc-call make-version-backups-p file) |
| 706 | (vc-make-version-backup file)))) | 706 | (vc-make-version-backup file)))) |
| 707 | 707 | ||
| 708 | (declare-function vc-dired-resynch-file "vc" (file)) | ||
| 709 | |||
| 708 | (defun vc-after-save () | 710 | (defun vc-after-save () |
| 709 | "Function to be called by `basic-save-buffer' (in files.el)." | 711 | "Function to be called by `basic-save-buffer' (in files.el)." |
| 710 | ;; If the file in the current buffer is under version control, | 712 | ;; If the file in the current buffer is under version control, |