Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
45745577
Commit
45745577
authored
Oct 29, 2012
by
Kevin Ryde
Committed by
Chong Yidong
Oct 29, 2012
Browse files
* woman.el (woman-parse-numeric-value): Handle picas correctly.
Fixes: debbugs:12639
parent
2230fa5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/woman.el
lisp/woman.el
+3
-1
No files found.
lisp/ChangeLog
View file @
45745577
2012-10-29 Kevin Ryde <user42@zip.com.au>
* woman.el (woman-parse-numeric-value): Handle picas correctly
(Bug#12639).
2012-10-29 Chong Yidong <cyd@gnu.org>
* startup.el (fancy-about-screen): Don't message (Bug#12680).
...
...
lisp/woman.el
View file @
45745577
...
...
@@ -3632,7 +3632,9 @@ expression in parentheses. Leaves point after the value."
((looking-at "
[mnuv]
")) ; ignore for now
((looking-at "
i
") (setq n (* n 10))) ; inch
((looking-at "
c
") (setq n (* n 3.9))) ; cm
((looking-at "
P
") (setq n (* n 1.7))) ; Pica
((let ((case-fold-search nil))
(looking-at "
P
"))
(setq n (* n 1.7))) ; Pica
((looking-at "
p
") (setq n (* n 0.14))) ; point
;; NB: May be immediately followed by + or -, etc.,
;; in which case do nothing and return nil.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment