(setq mpointer "132")) ; top_left_arrow
@end group
@group
- (setq x-pointer-shape (string-to-int mpointer))
+ (setq x-pointer-shape (string-to-number mpointer))
(set-mouse-color "white"))
@end group
@end smallexample
(cl-typecase x
(integer (munch-integer x))
(float (munch-float x))
- (string (munch-integer (string-to-int x)))
+ (string (munch-integer (string-to-number x)))
(t (munch-anything x)))
@end example
(progn
(beginning-of-line)
(looking-at "^\\([0-9]+\\):")
- (setq depth (string-to-int (match-string 1)))))
+ (setq depth (string-to-number (match-string 1)))))
@end example
@noindent
(delq 'viper-mode-string global-mode-string))
(setq-default major-mode
- (viper-standard-value 'default-major-mode
+ (viper-standard-value 'major-mode
viper-saved-non-viper-variables))
(if (featurep 'emacs)
(with-selected-window toc-window
(reftex-unhighlight 0)))
((eq final 'hide)
- (let ((show-window (selected-window))
- (show-buffer (window-buffer)))
- (unless (eq show-window toc-window) ;FIXME: Can this happen?
+ (let ((window (selected-window))
+ (buffer (window-buffer)))
+ (unless (eq window toc-window) ;FIXME: Can this happen?
(with-selected-window toc-window
(reftex-unhighlight 0)
(or (one-window-p) (delete-window))))
- ;; If `show-window' is still live, show-buffer is already visible
+ ;; If window is still live, buffer is already visible
;; so let's not make it visible in yet-another-window.
- (unless (window-live-p show-window)
- ;; FIXME: How could show-window not be live?
- (switch-to-buffer show-buffer))
+ (unless (window-live-p window)
+ ;; FIXME: How could window not be live?
+ (pop-to-buffer-same-window buffer))
(reftex-re-enlarge)))
(t
(unless (eq (selected-frame) (window-frame toc-window))
("hgroup" \n)
("html" (\n
"<head>\n"
- "<title>" (setq str (read-input "Title: ")) "</title>\n"
+ "<title>" (setq str (read-string "Title: ")) "</title>\n"
"</head>\n"
"<body>\n<h1>" str "</h1>\n" _
"\n<address>\n<a href=\"mailto:"