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.
+2007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * 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.
+
2007-11-19 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-open-connection-setup-interactive-shell):
"Non-nil if EVENT is a timeout event."
(and (listp event) (eq (car event) 'timer-event)))
\f
+
+(declare-function diary-entry-time "../calendar/diary-lib" (s))
+
;;;###autoload
(defun run-at-time (time repeat function &rest args)
"Perform an action at time TIME.
;; The following functions are called by the EDT screen width commands defined
;; in edt.el.
+(declare-function vt100-wide-mode "../term/vt100" (&optional arg))
+
(defun edt-set-term-width-80 ()
"Set terminal width to 80 columns."
(vt100-wide-mode -1))
;;;; VARIABLES and CONSTANTS
;;;;
-;; For backward compatibility to Emacs 19.
-(or (fboundp 'defgroup)
- (defmacro defgroup (&rest rest)))
-
(defgroup edt nil
"Emacs emulating EDT."
:prefix "edt-"
:group 'emulations)
;; To silence the byte-compiler
-(eval-when-compile
- (defvar *EDT-keys*)
- (defvar edt-default-global-map)
- (defvar edt-last-copied-word)
- (defvar edt-learn-macro-count)
- (defvar edt-orig-page-delimiter)
- (defvar edt-orig-transient-mark-mode)
- (defvar edt-rect-start-point)
- (defvar edt-user-global-map)
- (defvar rect-start-point)
- (defvar time-string)
- (defvar zmacs-region-stays))
+(defvar *EDT-keys*)
+(defvar edt-default-global-map)
+(defvar edt-last-copied-word)
+(defvar edt-learn-macro-count)
+(defvar edt-orig-page-delimiter)
+(defvar edt-orig-transient-mark-mode)
+(defvar edt-rect-start-point)
+(defvar edt-user-global-map)
+(defvar rect-start-point)
+(defvar time-string)
+(defvar zmacs-region-stays)
;;;
;;; Version Information
;;; User Configurable Variables
;;;
-;; For backward compatibility to Emacs 19.
-(or (fboundp 'defcustom)
- (defmacro defcustom (var value doc &rest ignore)
- `(defvar ,var ,value ,doc)))
-
(defcustom edt-keep-current-page-delimiter nil
"*Emacs MUST be restarted for a change in value to take effect!
Non-nil leaves Emacs value of `page-delimiter' unchanged within EDT
(indent-region (point) (mark) nil)
(fill-region (point) (mark))))
+
+(declare-function c-mark-function "../progmodes/cc-cmds" ())
;;;
;;; MARK SECTION WISELY
;;;
(setq char (read-char))
(vi-ask-for-info char))))
+(declare-function c-mark-function "../progmodes/cc-cmds" ())
+
(defun vi-mark-region (arg region)
"Mark region appropriately. The next char REGION is d(efun),s(-exp),b(uffer),
p(aragraph), P(age), f(unction in C/Pascal etc.), w(ord), e(nd of sentence),
\f
+(declare-function viper-forward-Word "viper-cmd" (arg))
+
;;; Support for :e, :r, :w file globbing
;; Glob the file spec.
()
(equal start (match-end 0))))))
+(declare-function imenu-default-create-index-function "../imenu" ())
;;;-------------------------------------------------------------------------
(defun dcl-imenu-create-index-function ()
;;; Code:
-(defvar idlwave-help-browse-url-available nil
+(defvar idlwave-help-browse-url-available t
"Whether browse-url is available")
-(setq idlwave-help-browse-url-available
- (condition-case nil
- (require 'browse-url)
- (error nil)))
+(require 'browse-url)
(defgroup idlwave-online-help nil
"Online Help options for IDLWAVE mode."
(defvar inferior-prolog-mode-syntax-table prolog-mode-syntax-table)
(defvar inferior-prolog-mode-abbrev-table prolog-mode-abbrev-table)
+(declare-function comint-mode "../comint")
+(declare-function comint-send-string "../comint" (process string))
+(declare-function comint-send-region "../comint" (process start end))
+(declare-function comint-send-eof "../comint" ())
+
(define-derived-mode inferior-prolog-mode comint-mode "Inferior Prolog"
"Major mode for interacting with an inferior Prolog process.
(fill-region-as-paragraph beg end justify))))))
fill-pfx)))
+(declare-function comment-search-forward "../newcomment" (limit &optional noerror))
+(declare-function comment-string-strip "../newcomment" (str beforep afterp))
+
+
(defun fill-comment-paragraph (&optional justify)
"Fill current comment.
If we're not in a comment, just return nil so that the caller
'reftex-view-crossref-when-idle
reftex-idle-time nil t))))
+(declare-function bibtex-beginning-of-entry "bibtex" ())
+
(defun reftex-view-crossref-from-bibtex (&optional arg)
"View location in a LaTeX document which cites the BibTeX entry at point.
Since BibTeX files can be used by many LaTeX documents, this function
+2007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * 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.
+
2007-10-31 Juanma Barranquero <lekktu@gmail.com>
* url-vars.el (url-vars-unload-hook): Remove function and variable.
(error nil)))
(apply func args))))
+(declare-function ange-ftp-set-passwd "../net/ange-ftp" (host user passwd))
+(declare-function ange-ftp-copy-file-internal "../net/ange-ftp"
+ (filename newname ok-if-already-exists
+ keep-date &optional msg cont nowait))
+
(defun url-file-build-filename (url)
(if (not (vectorp url))
(setq url (url-generic-parse-url url)))
nil nil nil) ;whether gid would change ; inode ; device.
(kill-buffer buffer)))))
+(declare-function url-dav-file-attributes (url &optional id-format))
+
;;;###autoload
(defun url-http-file-attributes (url &optional id-format)
(if (url-dav-supported-p url)
(save-excursion
(insert "\n"))))))
+(declare-function mail-send-and-exit "../mail/sendmail")
+
;;;###autoload
(defun url-mailto (url)
"Handle the mailto: URL syntax."
(eval-when-compile (require 'cl))
(require 'url-vars)
-(if (fboundp 'device-type)
- (defalias 'url-device-type 'device-type)
- (defun url-device-type (&optional device) (or window-system 'tty)))
+(defun url-device-type (&optional device)
+ (if (fboundp 'device-type)
+ (url-device-type device)
+ (or window-system 'tty)))
;;;###autoload
(defun url-setup-privacy-info ()