diff options
| author | Dan Nicolaescu | 2007-11-20 00:57:10 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-11-20 00:57:10 +0000 |
| commit | 153ef845b8355e243c2adcf1ea52fb55636683d8 (patch) | |
| tree | 6b99ed44cdb2c7375215d85698ebb115c4e24400 /lisp/emulation | |
| parent | ec6918a80feeee705679f5ca8b365e30a53c6a3d (diff) | |
| download | emacs-153ef845b8355e243c2adcf1ea52fb55636683d8.tar.gz emacs-153ef845b8355e243c2adcf1ea52fb55636683d8.zip | |
* progmodes/idlw-help.el: Require browse-url unconditionally, it
is available by default.
(idlwave-help-browse-url-available): Change default to t.
* emulation/edt.el (defgroup, defcustom): Remove definition.
(eval-when-compile): Remove.
(c-mark-function):
* textmodes/reftex-dcr.el (bibtex-beginning-of-entry):
* textmodes/fill.el (comment-search-forward)
(comment-string-strip):
* progmodes/prolog.el (comint-mode, comint-send-string)
(comint-send-region, comint-send-eof):
* progmodes/dcl-mode.el (imenu-default-create-index-function):
* emulation/viper-util.el (viper-forward-Word):
* emulation/vi.el (c-mark-function):
* emulation/edt-vt100.el (vt100-wide-mode):
* emacs-lisp/timer.el (diary-entry-time): Declare as functions.
* url-mailto.el (mail-send-and-exit):
* url-http.el (url-dav-file-attributes):
* url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal):
Declare as functions.
* url-privacy.el (url-device-type): Define unconditionally.
Diffstat (limited to 'lisp/emulation')
| -rw-r--r-- | lisp/emulation/edt-vt100.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/edt.el | 34 | ||||
| -rw-r--r-- | lisp/emulation/vi.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/viper-util.el | 2 |
4 files changed, 19 insertions, 21 deletions
diff --git a/lisp/emulation/edt-vt100.el b/lisp/emulation/edt-vt100.el index 4e094a5f703..fbe56c2c341 100644 --- a/lisp/emulation/edt-vt100.el +++ b/lisp/emulation/edt-vt100.el | |||
| @@ -39,6 +39,8 @@ | |||
| 39 | ;; The following functions are called by the EDT screen width commands defined | 39 | ;; The following functions are called by the EDT screen width commands defined |
| 40 | ;; in edt.el. | 40 | ;; in edt.el. |
| 41 | 41 | ||
| 42 | (declare-function vt100-wide-mode "../term/vt100" (&optional arg)) | ||
| 43 | |||
| 42 | (defun edt-set-term-width-80 () | 44 | (defun edt-set-term-width-80 () |
| 43 | "Set terminal width to 80 columns." | 45 | "Set terminal width to 80 columns." |
| 44 | (vt100-wide-mode -1)) | 46 | (vt100-wide-mode -1)) |
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el index 4a68e258cb1..d61ef9725f3 100644 --- a/lisp/emulation/edt.el +++ b/lisp/emulation/edt.el | |||
| @@ -166,28 +166,23 @@ | |||
| 166 | ;;;; VARIABLES and CONSTANTS | 166 | ;;;; VARIABLES and CONSTANTS |
| 167 | ;;;; | 167 | ;;;; |
| 168 | 168 | ||
| 169 | ;; For backward compatibility to Emacs 19. | ||
| 170 | (or (fboundp 'defgroup) | ||
| 171 | (defmacro defgroup (&rest rest))) | ||
| 172 | |||
| 173 | (defgroup edt nil | 169 | (defgroup edt nil |
| 174 | "Emacs emulating EDT." | 170 | "Emacs emulating EDT." |
| 175 | :prefix "edt-" | 171 | :prefix "edt-" |
| 176 | :group 'emulations) | 172 | :group 'emulations) |
| 177 | 173 | ||
| 178 | ;; To silence the byte-compiler | 174 | ;; To silence the byte-compiler |
| 179 | (eval-when-compile | 175 | (defvar *EDT-keys*) |
| 180 | (defvar *EDT-keys*) | 176 | (defvar edt-default-global-map) |
| 181 | (defvar edt-default-global-map) | 177 | (defvar edt-last-copied-word) |
| 182 | (defvar edt-last-copied-word) | 178 | (defvar edt-learn-macro-count) |
| 183 | (defvar edt-learn-macro-count) | 179 | (defvar edt-orig-page-delimiter) |
| 184 | (defvar edt-orig-page-delimiter) | 180 | (defvar edt-orig-transient-mark-mode) |
| 185 | (defvar edt-orig-transient-mark-mode) | 181 | (defvar edt-rect-start-point) |
| 186 | (defvar edt-rect-start-point) | 182 | (defvar edt-user-global-map) |
| 187 | (defvar edt-user-global-map) | 183 | (defvar rect-start-point) |
| 188 | (defvar rect-start-point) | 184 | (defvar time-string) |
| 189 | (defvar time-string) | 185 | (defvar zmacs-region-stays) |
| 190 | (defvar zmacs-region-stays)) | ||
| 191 | 186 | ||
| 192 | ;;; | 187 | ;;; |
| 193 | ;;; Version Information | 188 | ;;; Version Information |
| @@ -198,11 +193,6 @@ | |||
| 198 | ;;; User Configurable Variables | 193 | ;;; User Configurable Variables |
| 199 | ;;; | 194 | ;;; |
| 200 | 195 | ||
| 201 | ;; For backward compatibility to Emacs 19. | ||
| 202 | (or (fboundp 'defcustom) | ||
| 203 | (defmacro defcustom (var value doc &rest ignore) | ||
| 204 | `(defvar ,var ,value ,doc))) | ||
| 205 | |||
| 206 | (defcustom edt-keep-current-page-delimiter nil | 196 | (defcustom edt-keep-current-page-delimiter nil |
| 207 | "*Emacs MUST be restarted for a change in value to take effect! | 197 | "*Emacs MUST be restarted for a change in value to take effect! |
| 208 | Non-nil leaves Emacs value of `page-delimiter' unchanged within EDT | 198 | Non-nil leaves Emacs value of `page-delimiter' unchanged within EDT |
| @@ -1628,6 +1618,8 @@ Argument NUM is the percentage into the buffer to move." | |||
| 1628 | (indent-region (point) (mark) nil) | 1618 | (indent-region (point) (mark) nil) |
| 1629 | (fill-region (point) (mark)))) | 1619 | (fill-region (point) (mark)))) |
| 1630 | 1620 | ||
| 1621 | |||
| 1622 | (declare-function c-mark-function "../progmodes/cc-cmds" ()) | ||
| 1631 | ;;; | 1623 | ;;; |
| 1632 | ;;; MARK SECTION WISELY | 1624 | ;;; MARK SECTION WISELY |
| 1633 | ;;; | 1625 | ;;; |
diff --git a/lisp/emulation/vi.el b/lisp/emulation/vi.el index 81ad04b60d9..889f81e75c7 100644 --- a/lisp/emulation/vi.el +++ b/lisp/emulation/vi.el | |||
| @@ -1375,6 +1375,8 @@ The following CHAR will be the name for the command or macro." | |||
| 1375 | (setq char (read-char)) | 1375 | (setq char (read-char)) |
| 1376 | (vi-ask-for-info char)))) | 1376 | (vi-ask-for-info char)))) |
| 1377 | 1377 | ||
| 1378 | (declare-function c-mark-function "../progmodes/cc-cmds" ()) | ||
| 1379 | |||
| 1378 | (defun vi-mark-region (arg region) | 1380 | (defun vi-mark-region (arg region) |
| 1379 | "Mark region appropriately. The next char REGION is d(efun),s(-exp),b(uffer), | 1381 | "Mark region appropriately. The next char REGION is d(efun),s(-exp),b(uffer), |
| 1380 | p(aragraph), P(age), f(unction in C/Pascal etc.), w(ord), e(nd of sentence), | 1382 | p(aragraph), P(age), f(unction in C/Pascal etc.), w(ord), e(nd of sentence), |
diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el index c757eb63aef..6a21fa17e31 100644 --- a/lisp/emulation/viper-util.el +++ b/lisp/emulation/viper-util.el | |||
| @@ -380,6 +380,8 @@ | |||
| 380 | 380 | ||
| 381 | 381 | ||
| 382 | 382 | ||
| 383 | (declare-function viper-forward-Word "viper-cmd" (arg)) | ||
| 384 | |||
| 383 | ;;; Support for :e, :r, :w file globbing | 385 | ;;; Support for :e, :r, :w file globbing |
| 384 | 386 | ||
| 385 | ;; Glob the file spec. | 387 | ;; Glob the file spec. |