+2001-11-24 Richard M. Stallman <rms@gnu.org>
+
+ * startup.el (command-line-1): Don't do startup screen
+ if a subprocess is running.
+
+ * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
+ (browse-url-galeon): Use that variable.
+
+ * mail/supercite.el (sc-toggle-var): Don't use set-variable or
+ eval-expression. Eval and set the variable simply.
+
+ * files.el (temporary-file-directory): Use defcustom.
+ (small-temporary-file-directory): Likewise.
+ (normal-backup-enable-predicate): Move down in file
+ after definition of temporary-file-directory.
+
+ * bindings.el (last-buffer, unbury-buffer): Doc fixes.
+
2001-11-24 Colin Walters <walters@debian.org>
* calc/calc-ext.el (calc-init-extensions): Update the rest of the
;;; History:
;;
-
+\f
;;; Code:
(eval-when-compile
(require 'wid-edit))
(character :tag "Character")
(integer :tag "Integer char value"
:validate ruler-mode-character-validate)))
-
+\f
(defface ruler-mode-default-face
'((((type tty))
(:inherit default
)))
"Face used to highlight the `current-column' character."
:group 'ruler-mode)
-
+\f
(defun ruler-mode-mouse-set-left-margin (start-event)
"Set left margin to the graduation where the mouse pointer is on.
START-EVENT is the mouse click event."
(progn
(message "Fill column set to %d (was %d)" fc fill-column)
(setq fill-column fc)))))))
-
+\f
(defun ruler-mode-mouse-add-tab-stop (start-event)
"Add a tab stop to the graduation where the mouse pointer is on.
START-EVENT is the mouse click event."
(defun ruler-mode-toggle-show-tab-stops ()
"Toggle showing of tab stops on the ruler."
(interactive)
- (when ruler-mode
- (setq ruler-mode-show-tab-stops (not ruler-mode-show-tab-stops))
- (force-mode-line-update)))
-
+ (setq ruler-mode-show-tab-stops (not ruler-mode-show-tab-stops))
+ (force-mode-line-update))
+\f
(defvar ruler-mode-map
(let ((km (make-sparse-keymap)))
(define-key km [header-line down-mouse-1]
(setq header-line-format ruler-mode-header-line-format-old))
(remove-hook 'post-command-hook ; remove local hook
#'force-mode-line-update t)))
-
+\f
;; Add ruler-mode to the the minor mode menu in the mode line
(define-key mode-line-mode-menu [ruler-mode]
`(menu-item "Ruler" ruler-mode
f (list (cons 'vertical-scroll-bars vsb)
(cons 'ruler-mode-left-fringe-cols lfc)))))
(car lfc)))
-
+\f
(defun ruler-mode-ruler ()
"Return a string ruler."
(if ruler-mode